mirror of
https://github.com/namibia/awesome-cheatsheets.git
synced 2024-12-22 01:58:54 +00:00
Add docker-compose run command.
This commit is contained in:
parent
6d47c4b9e2
commit
e9242e41d1
@ -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