How do you stop Docker Compose services that were previously executed in a detached mode and also delete all their containers?

Experience Level: Junior
Tags: Docker Compose

Answer

Run the following command:

docker-compose down

Note that this command will 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