ENV File

Difficulty: Intermediate

Question

How do you pass an environment variable file to a container?

Answer

Use `docker run --env-file <path_to_file> <image>`.

Concepts covered

Env, Security