.dotfiles/navi/docker-compose.cheat

13 lines
369 B
Plaintext
Raw Normal View History

2020-11-21 09:07:54 +00:00
% 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 down
$ file: ls *.yaml | awk '{print $1}'