Overview of docker-compose CLI This page provides the usage information for the docker-compose Command. You can also see this information
Environment file Compose supports declaring default environment variables in an environment file named .env placed in the folder docker-compose
logs Usage: logs [options] [SERVICE...] Options: --no-color Produce monochrome output. -f, --follow Follow log output -t, --timestamps
scale Usage: scale [SERVICE=NUM...] Sets the number of containers to run for a service. Numbers are specified as arguments
Quickstart: Docker Compose and WordPress You can use Docker Compose to easily run WordPress in an isolated environment built with Docker containers
help Usage: help COMMAND Displays help and usage instructions for a command.
Install Docker Compose You can run Compose on OS X, Windows and 64-bit Linux. To install it, you’ll need to install Docker first. To install Compose, do
Networking in Compose Note: This document only applies if you’re using
create Creates containers for a service. Usage: create [options] [SERVICE...] Options: --force-recreate Recreate containers even
exec Usage: exec [options] SERVICE COMMAND [ARGS...] Options: -d Detached mode: Run command in the background. --privileged
Page 2 of 4