port Usage: port [options] SERVICE PRIVATE_PORT Options: --protocol=proto tcp or udp [default: tcp] --index=index index of the container
Docker Compose Compose is a tool for defining and running multi-container Docker applications. To learn more about Compose refer to the following documentation:
Compose file reference The Compose file is a YAML file defining
ps Usage: ps [options] [SERVICE...] Options: -q Only display IDs Lists containers.
restart Usage: restart [options] [SERVICE...] Options: -t, --timeout TIMEOUT Specify a shutdown timeout in seconds. (default: 10)
rm Usage: rm [options] [SERVICE...] Options: -f, --force Don't ask to confirm removal -v Remove any anonymous volumes attached
Link environment variables reference Note: Environment variables are no longer the recommended method for connecting
unpause Usage: unpause [SERVICE...] Unpauses paused containers of a service.
kill Usage: kill [options] [SERVICE...] Options: -s SIGNAL SIGNAL to send to the container. Default signal is SIGKILL. Forces
Environment file Compose supports declaring default environment variables in an environment file named .env placed in the folder docker-compose
Page 1 of 4