podman compose Flashcards
podman compose yaml
execute a Compose file
podman-compose up
list networks that are defined in the Compose file
podman network ls
stops running containers that are defined as services
podman-compose stop
stop and remove containers that are defined as services
podman-compose down
what happens if the networks keyword is not defined in the Podman Compose file
Podman Compose creates a default network that has DNS enabled
Compose file with mounted volume
Compose file with mounted volume. Volume created outside of docker compose
Compose file with bind mount
install podman compose
pip3 install podman-compose
Build contaier file with argument
–build-arg key=example-value
Declare env with defaut value
ENV BIN_DIR=${BIN_DIR:-/usr/local/bin/}