1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-12-18 16:41:58 +00:00

Merge pull request #70 from hoangtrongphuc/patch-1

Add docker-compose run command.
This commit is contained in:
Julien Le Coupanec 2019-01-21 11:33:54 +01:00 committed by GitHub
commit f12fe74e26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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