navi: Add some cheat sheets
This commit is contained in:
12
navi/docker-compose.cheat
Normal file
12
navi/docker-compose.cheat
Normal file
@@ -0,0 +1,12 @@
|
||||
% docker-compose
|
||||
|
||||
# Builds, (re)creates, starts, and attaches to containers for all services
|
||||
sudo docker-compose -f <file> up
|
||||
|
||||
# Builds, (re)creates, starts, and dettaches to containers for all services
|
||||
sudo docker-compose -f <file> up -d
|
||||
|
||||
# Stops containers and removes containers, networks created by up
|
||||
sudo docker-compose -f <file> down
|
||||
|
||||
$ file: ls *.yaml | awk '{print $1}'
|
||||
Reference in New Issue
Block a user