marmelab / gaudi

Gaudi allows to share multi-component applications, based on Docker, Go, and YAML.
http://gaudi.io/
MIT License
563 stars 28 forks source link

Use docker ps to retrieve containers status #14

Closed manuquentin closed 10 years ago

manuquentin commented 10 years ago

Sometimes docker inspect [name] returns an error because of conflict name. If the db is a container of the gaudi/db image :

# docker inspect db
Error: Conflict between containers and images

So the gaudi --check is not able to retrieve the db status.

Gaudi should use the docker ps command to retrieve the db container id. This id can be passed to docker inspect to avoid name conflict.