testcontainers / testcontainers/testcontainers-python
Bug: You have to remove (or rename) that container to be able to reuse that name. (starting ryuk twice, dind)
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 2.3k
- Fork
- 386
- Merge medio
- 4h 40m
- PR unite (30g)
- 1
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Il report non indica alcun file sorgente, test o punto di ingresso. Inizia riproducendo il problema nell’ambiente specificato con testcontainers 4.5.0, pytest 6.2.5 e Docker-in-Docker; il lavoro è completato quando hai identificato perché Ryuk viene avviato due volte e hai aggiunto la copertura per il caso di un nome di container duplicato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- docker, python
- Ambito
- devops, testing
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100