Start all services defined in the docker-compose file - create and start the container(s)

docker-compose up -d servicename

Start a specific service defined in the docker-compose file

docker-compose ps

List all running containers in the current docker-compose project directory; including name, command, state, and ports

docker-compose events

Streams events for containers in the compose project. This is similar to docker events, but there are no filters allowed other than ---json. Exit by using Control C

docker-compose images

Similar to docker-compose ps; lists the container name and information about the image(s)

docker-compose config

Validate and view the compose file complete/combined with other configuration files such as the docker-compose.override.yml

docker-compose logs

View the container logs- specific . Specific containers can be listed. Use the -t option to show timestamps, and --tail="xx" to indicate the number of lines to show from the end of the logs for each container. To follow the log, use the -f option (and control C to end).

docker-compose pause/unpause

Pauses the running containers. Note that the unpause (not start) command has to be used in order to restore the containers to their normal state.

docker-compose start/restart

Start or restart existing containers

docker-compose stop

Stop containers (note this does not remove the containers)

docker-compose rm

Remove a specific service/container

docker-compose rm -fv

Remove a specific service/container and the volume (use with extreme caution)

docker-compose down

Stop AND remove containers,networks, volumes, and images created by docker-compose up. See parameters - by default does not remove volumes