Services and User Management
An application image requires twelve settings, stored one per line as KEY=value in /etc/myapp/app.env on the host. Which command starts the container with all twelve set as environment variables?
Show the answer
Correct answerD. podman run -d --env-file /etc/myapp/app.env myapp:2.0
--env-file reads KEY=value lines from a file and sets each as an environment variable in the container. --label-file looks similar but only applies metadata labels, so the application never sees the values as variables.