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

Auto build fails with conflicting docker container #243

Closed
feelingsonice opened this issue Apr 19, 2024 · 1 comment
Closed

Auto build fails with conflicting docker container #243

feelingsonice opened this issue Apr 19, 2024 · 1 comment

Comments

@feelingsonice
Copy link

feelingsonice commented Apr 19, 2024

Running (cargo build) the basic auto_build example gives me the output:

  Error: Container(Error { msg: "`docker` couldn't spawn container: docker: Error response from daemon: Conflict. The container name \"/cornucopia_postgres\" is already in use by container \"773d6cf431b71da514ee1e7c2e9ea0acd710cce31fde05bc50391e7834d9440b\". You have to remove (or rename) that container to be able to reuse that name.\nSee 'docker run --help'.\n", help: Some("First, check that the docker daemon is up-and-running. Then, make sure that port 5435 is usable and that no container named `cornucopia_postgres` already exists.") })

I have no running container, checked docker ps, and no ports binding to 5432, check sudo lsof -i:5432.

On a Mac M2

@feelingsonice
Copy link
Author

Closing in favor of the more appropriate error #244

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

1 participant