Skip to content
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

Docker Conflict. The container name "/buildx_buildkit_default" #194

Open
Spirit412 opened this issue Nov 6, 2023 · 3 comments
Open

Docker Conflict. The container name "/buildx_buildkit_default" #194

Spirit412 opened this issue Nov 6, 2023 · 3 comments

Comments

@Spirit412
Copy link

If I run the command

docker-compose -f deploy/docker-compose.yml -f deploy/docker-compose.dev.yml --project-directory . up --build

I get an error:
"Error response from daemon: Conflict. The container name "/buildx_buildkit_default" is already in use by container "d71b945b434c38734cf71fc8f64b5dc97317552bde26f586f1a24910c979ab79". You have to remove (or rename) that container to be able to reuse that name."

If running a command without a dash

docker compose -f deploy/docker-compose.yml -f deploy/docker-compose.dev.yml --project-directory . up --build

Docker starts without errors

@s3rius
Copy link
Owner

s3rius commented Nov 6, 2023

So, there's a thing with docker. Docker-compose was external program before, and not that long ago it was merged into docker itself and can be invoked as a subcommand.

My assumption here is that you have outdated docker-compose binary and up to date docker.

@Spirit412
Copy link
Author

Spirit412 commented Nov 7, 2023

So, there's a thing with docker. Docker-compose was external program before, and not that long ago it was merged into docker itself and can be invoked as a subcommand.

My assumption here is that you have outdated docker-compose binary and up to date docker.

In the README file, the sample code for docker uses the old "docker-compose" syntax

@s3rius
Copy link
Owner

s3rius commented Nov 9, 2023

I guess now it's time to change it. Because mostly people are using docker compose instead of old-style docker-compose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants