navi: Update docker-compose sheet
This commit is contained in:
parent
f5757ad5ef
commit
8371bab785
@ -1,12 +1,15 @@
|
|||||||
% docker-compose
|
% docker-compose
|
||||||
|
|
||||||
# Builds, (re)creates, starts, and attaches to containers for all services
|
# Up a compose YAML
|
||||||
sudo docker-compose -f <file> up
|
sudo docker-compose -f <file> up
|
||||||
|
|
||||||
# Builds, (re)creates, starts, and dettaches to containers for all services
|
# Up and daemonze a compose YAML
|
||||||
sudo docker-compose -f <file> up -d
|
sudo docker-compose -f <file> up -d
|
||||||
|
|
||||||
# Stops containers and removes containers, networks created by up
|
# Up and daemonze a compose YAML (force)
|
||||||
|
sudo docker-compose -f <file> up -d --force-recreate
|
||||||
|
|
||||||
|
# Up and daemonze a compose YAML
|
||||||
sudo docker-compose -f <file> down
|
sudo docker-compose -f <file> down
|
||||||
|
|
||||||
$ file: ls *.yaml | awk '{print $1}'
|
$ file: ls *.yaml | awk '{print $1}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user