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:
commit
f12fe74e26
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user