testcontainers / testcontainers/testcontainers-python
Bug: You have to remove (or rename) that container to be able to reuse that name. (starting ryuk twice, dind)
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 2.3k
- 派生
- 386
- 平均合并
- 4 小时 40 分钟
- 30 天内合并 PR
- 1
描述
Describe the bug
When we use testcontainer in our build pipeline we get the following error:
Conflict ("Conflict. The container name "/testcontainers-ryuk-d5f13be0-c6ab-43c0-83ad-071f3604cb77" is already in use by container "0f610da3c88a6f4ff0d46c71b55219b08db90dd699aa75a990f041e0bccf83b6". You have to remove (or rename) that container to be able to reuse that name.")
To Reproduce
I am not sure what exactly is the cause for that problem, locally everything runs just fine.
Runtime environment
testcontainers 4.5.0
pytest 6.2.5
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
报告没有指出源文件、测试或入口点。首先在所述的 testcontainers 4.5.0、pytest 6.2.5 和 Docker-in-Docker 环境中复现故障;完成的标准是确定 Ryuk 为何会启动两次,并为容器名称重复的情况添加覆盖测试。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- docker, python
- 领域
- devops, testing
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100