How to fix docker-compose start ERROR: No containers to start

Problem:

When running docker-compose start, you see an error message like this:

docker_compose_start_no_containers_fix.sh
Starting mongodb     ... error
Starting myapp       ... error

ERROR: No containers to start

Solution

In order to start your containers, use docker-compose up, instead of docker-compose start!


Check out similar posts by category: Container, Docker