More on env vars

Commands

docker container run alpine:latest env
echo MYVAR=test >> app.env
echo FOO=bar >> app.env
docker container run alpine:latest env
export OTHERVAR=local-test
docker container run --env-file app.env -e OTHERVAR alpine:latest env
echo OTHERVAR >> app.env
docker container run --env-file app.env alpine:latest env

The ENV instruction

Postgres in a nutshell