docker-compose ps

ps Usage: ps [options] [SERVICE...] Options: -q Only display IDs Lists containers.

docker-compose port

port Usage: port [options] SERVICE PRIVATE_PORT Options: --protocol=proto tcp or udp [default: tcp] --index=index index of the container if there are multiple instances of a service [default: 1] Prints the public port for a port binding.

docker-compose pause

pause Usage: pause [SERVICE...] Pauses running containers of a service. They can be unpaused with docker-compose unpause.

docker-compose Overview of docker-compose CLI

Overview of docker-compose CLI This page provides the usage information for the docker-compose Command. You can also see this information by running docker-compose --help from the command line. Define and run multi-container applications with Docker. Usage: docker-compose [-f=<arg>...] [options] [COMMAND] [ARGS...] docker-compose -h|--help Options: -f, --file FILE Specify an alternate compose file (default: docker-compose.yml) -p, --project-name NAME Specify an a

docker-compose logs

logs Usage: logs [options] [SERVICE...] Options: --no-color Produce monochrome output. -f, --follow Follow log output -t, --timestamps Show timestamps --tail Number of lines to show from the end of the logs for each container. Displays log output from services.

docker-compose help

help Usage: help COMMAND Displays help and usage instructions for a command.

docker-compose kill

kill Usage: kill [options] [SERVICE...] Options: -s SIGNAL SIGNAL to send to the container. Default signal is SIGKILL. Forces running containers to stop by sending a SIGKILL signal. Optionally the signal can be passed, for example: $ docker-compose kill -s SIGINT

docker-compose exec

exec Usage: exec [options] SERVICE COMMAND [ARGS...] Options: -d Detached mode: Run command in the background. --privileged Give extended privileges to the process. --user USER Run the command as this user. -T Disable pseudo-tty allocation. By default `docker-compose exec` allocates a TTY. --index=index index of the container if there are multiple instances of a service [default: 1] This is equivalent of docker e

docker-compose down

down Usage: down [options] Options: --rmi type Remove images. Type must be one of: 'all': Remove all images used by any service. 'local': Remove only images that don't have a custom tag set by the `image` field. -v, --volumes Remove named volumes declared in the `volumes` section of the Compose file and anonymous volumes attached to containers. --re

docker-compose events

events Usage: events [options] [SERVICE...] Options: --json Output events as a stream of json objects Stream container events for every container in the project. With the --json flag, a json object will be printed one per line with the format: { "service": "web", "event": "create", "container": "213cf75fc39a", "image": "alpine:edge", "time": "2015-11-20T18:01:03.615550", }