Skip to content

Glossary: Docker Basics

-e / --env-file

Also written: -e NAME=value, --env-file

Options that set environment variables for one container: `-e` sets a single value, `--env-file` loads many from a file. They override `ENV` defaults from the image.

Where the book teaches it

Related terms

ENVEnvironment variableSecret