Search code examples
docker-compose

docker-compose up, down, stop start difference


I cant find more information about those.

Should we use docker stop for containers which we started with docker start

Or same for docker-compose up?

What is the difference between stop and down?


Solution

  • In docker-compose help

    • stop - Stop services
    • down - Stop and remove containers and networks (optionally images and volumes as well)