docker-compose down one service code example
Example: 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>