Intermediate
Docker & Containers
Q78 / 100
What does "docker run --env-file <file>" allow you to do?
Correct! Well done.
Incorrect.
The correct answer is A) Load multiple environment variables from a file into the container, instead of specifying each with individual "-e" flags
A
Correct Answer
Load multiple environment variables from a file into the container, instead of specifying each with individual "-e" flags
Explanation
"--env-file" reads key=value pairs from a file and sets them as environment variables in the container, convenient for managing many variables without long command lines.
Progress
78/100