mirror of
https://github.com/namibia/awesome-cheatsheets.git
synced 2024-12-18 08:34:06 +00:00
Docker: add comments for docker-compose methods
This commit is contained in:
parent
1dcb38b883
commit
889cd60ac1
@ -27,10 +27,10 @@ docker run username/repository:tag # Run image from a registry
|
||||
##############################################################################
|
||||
|
||||
|
||||
docker-compose up
|
||||
docker-compose up -d
|
||||
docker-compose down
|
||||
docker-compose logs
|
||||
docker-compose up # Create and start containers
|
||||
docker-compose up -d # Create and start containers in detached mode
|
||||
docker-compose down # Stop and remove containers, networks, images, and volumes
|
||||
docker-compose logs # View output from containers
|
||||
docker-compose restart # Restart all service
|
||||
docker-compose pull # Pull all image service
|
||||
docker-compose build # Build all image service
|
||||
|
Loading…
Reference in New Issue
Block a user