-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
services.down() fails if container_name is set in the dockerfile #21
Comments
Indeed, the dreaded message `'Conflict. The container name "/" is already in use by container "". You have to remove (or rename) that container to be able to reuse that name.' One workaround, as based on the current implementation of
Whereas |
There hasn't been any progress on this issue and thankfully this was mentioned in here, because the error is "eaten" and I was confused why down is not working. Am I missing something or is it really just taking the "container_name" property (or use default if it doesn't exist). I also noticed there is an empty array |
I'm having a similar issue. And also, |
If the dockerfile defines the container name, then the calling services.down() fails as the down method looks for a container named with the following pattern:
In such case, the down method() should use the container_name defined in the dockerfile instead of its own naming format.
The text was updated successfully, but these errors were encountered: