From 889cd60ac1f5dd512d9ea4a478021e0becbd2df3 Mon Sep 17 00:00:00 2001 From: Julien Le Coupanec Date: Sun, 11 Feb 2018 19:33:47 +0100 Subject: [PATCH] Docker: add comments for docker-compose methods --- tools/docker.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/docker.sh b/tools/docker.sh index 18b2948..3b87fca 100644 --- a/tools/docker.sh +++ b/tools/docker.sh @@ -27,10 +27,10 @@ docker run username/repository:tag # Run image from a registry ############################################################################## -docker-compose up -docker-compose up -d -docker-compose down -docker-compose logs +docker-compose up # Create and start containers +docker-compose up -d # Create and start containers in detached mode +docker-compose down # Stop and remove containers, networks, images, and volumes +docker-compose logs # View output from containers docker-compose restart # Restart all service docker-compose pull # Pull all image service docker-compose build # Build all image service