Add docker-compose run command.

This commit is contained in:
Hoàng Phúc
2019-01-21 16:44:32 +07:00
committed by GitHub
parent 6d47c4b9e2
commit e9242e41d1

View File

@@ -39,7 +39,7 @@ docker-compose build # Build all image service
docker-compose config # Validate and view the Compose file
docker-compose scale <service_name>=<replica> # 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