se/down/) |  Stop and remove containers, networks   
[ ` docker compose events ` ](https://docs.docker.com/reference/cli/docker/compose/events/) |  Receive real time events from containers   
[ ` docker compose exec ` ](https://docs.docker.com/reference/cli/docker/compose/exec/) |  Execute a command in a running container   
[ ` docker compose images ` ](https://docs.docker.com/reference/cli/docker/compose/images/) |  List images used by the created containers   
[ ` docker compose kill ` ](https://docs.docker.com/reference/cli/docker/compose/kill/) |  Force stop service containers   
[ ` docker compose logs ` ](https://docs.docker.com/reference/cli/docker/compose/logs/) |  View output from containers   
[ ` docker compose ls ` ](https://docs.docker.com/reference/cli/docker/compose/ls/) |  List running compose projects   
[ ` docker compose pause ` ](https://docs.docker.com/reference/cli/docker/compose/pause/) |  Pause services   
[ ` docker compose port ` ](https://docs.docker.com/reference/cli/docker/compose/port/) |  Print the public port for a port binding   
[ ` docker compose ps ` ](https://docs.docker.com/reference/cli/docker/compose/ps/) |  List containers   
[ ` docker compose pull ` ](https://docs.docker.com/reference/cli/docker/compose/pull/) |  Pull service images   
[ ` docker compose push ` ](https://docs.docker.com/reference/cli/docker/compose/push/) |  Push service images   
[ ` docker compose restart ` ](https://docs.docker.com/reference/cli/docker/compose/restart/) |  Restart service containers   
[ ` docker compose rm ` ](https://docs.docker.com/reference/cli/docker/compose/rm/) |  Removes stopped service containers   
[ ` docker compose run ` ](https://docs.docker.com/reference/cli/docker/compose/run/) |  Run a one-off command on a service   
[ ` docker compose start ` ](https://docs.docker.com/reference/cli/docker/compose/start/) |  Start services   
[ ` docker compose stop ` ](https://docs.docker.com/reference/cli/docker/compose/stop/) |  Stop services   
[ ` docker compose top ` ](https://docs.docker.com/reference/cli/docker/compose/top/) |  Display the running processes   
[ ` docker compose unpause ` ](https://docs.docker.com/reference/cli/docker/compose/unpause/) |  Unpause services   
[ ` docker compose up ` ](https://docs.docker.com/reference/cli/docker/compose/up/) |  Create and start containers   
[ ` docker compose version ` ](https://docs.docker.com/reference/cli/docker/compose/version/) |  Show the Docker Compose version information   
[ ` docker compose wait ` ](https://docs.docker.com/reference/cli/docker/compose/wait/) |  Block until the first service container stops   
[ ` docker compose watch ` ](https://docs.docker.com/reference/cli/docker/compose/watch/) |  Watch build context for service and rebuild/refresh containers when files are updated   
  
Contents

  * Description 
  * Use `-f` to specify the name and path of one or more Compose files 
  * Specifying multiple Compose files 
  * Specifying a path to a single Compose file 
  * Use `-p` to specify a project name 
  * Use profiles to enable optional services 
  * Configuring parallelism 
  * Set up environment variables 
  * Use Dry Run mode to test your command 
  * Options 
  * Subcommands 

[ Product offerings ](https://www.docker.com/) [ Pricing
](https://www.docker.com/pricing/) [ About us
](https://www.docker.com/company/) [ Support
](https://www.docker.com/support/) [ Contribute
](https://github.com/docker/docs/blob/main/CONTRIBUTING.md)

* * *

Copyright Â© 2013-2024 Docker Inc. All rights reserved.

[ ](http://twitter.com/docker/ "X \(Twitter\)") [
](https://www.linkedin.com/company/docker "LinkedIn") [
](https://www.instagram.com/dockerinc/ "Instagram") [
](http://www.youtube.com/user/dockerrun "YouTube") [
](https://www.facebook.com/docker.run "Facebook")

[ Terms of Service ](https://www.docker.com/legal/docker-terms-service "Docker
Terms of Service") [ Status ](https://www.dockerstatus.com/ "Docker Systems
Status Page")