navi: Add some cheat sheets

This commit is contained in:
2020-11-21 10:07:54 +01:00
parent 65e03c4990
commit 2655c4559b
5 changed files with 161 additions and 0 deletions

12
navi/docker-compose.cheat Normal file
View 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}'