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

could not get container for db: No such container: db. #108

Open
mikperic opened this issue Sep 11, 2020 · 1 comment
Open

could not get container for db: No such container: db. #108

mikperic opened this issue Sep 11, 2020 · 1 comment

Comments

@mikperic
Copy link

In my Docker for Desktop Windows I performed:

docker run -p 5432:5432 -d --name db arminc/clair-db:2017-09-18
docker run -p 6060:6060 --link db:postgres -d --name clair arminc/clair-local-scan:v2.0.6

and got following error:

docker: Error response from daemon: could not get container for db: No such container: db.

@wuxler
Copy link

wuxler commented Nov 9, 2020

In my Docker for Desktop Windows I performed:

docker run -p 5432:5432 -d --name db arminc/clair-db:2017-09-18
docker run -p 6060:6060 --link db:postgres -d --name clair arminc/clair-local-scan:v2.0.6

and got following error:

docker: Error response from daemon: could not get container for db: No such container: db.

Please run docker ps -a to check container db has been Up.

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