docker compose down single service code example
Example 1: docker compose down
# Stop services only
docker-compose stop
# Stop and remove containers, networks..
docker-compose down -f <file>
# Down and remove volumes
docker-compose down --volumes
# Down and remove images
docker-compose down --rmi <all|local>
Example 2: docker compose up only one service
$ docker-compose up -d client