From e9242e41d1902c6be34b2d9badcb98d56157a4cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ho=C3=A0ng=20Ph=C3=BAc?= Date: Mon, 21 Jan 2019 16:44:32 +0700 Subject: [PATCH] Add docker-compose run command. --- tools/docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/docker.sh b/tools/docker.sh index 941799d..3149392 100644 --- a/tools/docker.sh +++ b/tools/docker.sh @@ -39,7 +39,7 @@ docker-compose build # Build all image service docker-compose config # Validate and view the Compose file docker-compose scale = # Scale special service(s) docker-compose top # Display the running processes - +docker-compose run -rm -p 2022:22 web bash # Start web service and runs bash as its command, remove old container. ############################################################################## # DOCKER SERVICES