How do you stop Docker Compose services that were previously executed in a detached mode?

Experience Level: Junior
Tags: Docker Compose

Answer

Run the following command:

docker-compose stop

Note that this command won't remove the service containers.

Comments

No Comments Yet.
Be the first to tell us what you think.
Docker Compose
Docker Compose

Are you learning Docker Compose ? Try our test we designed to help you progress faster.

Test yourself