πŸ“Š Docker
Q. Which of the following options is used to pass environment variables to a Docker container?
  • (A) -e
  • (B) --env
  • (C) --env-file
  • (D) All of the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the above

Explanation: Docker allows passing environment variables to containers using '-e', '--env', or '--env-file'.

Explanation by: Shiva Ram
Docker allows passing environment variables to containers using '-e', '--env', or '--env-file'.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
83
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Shiva Ram
Publisher
πŸ“ˆ
83%
Success Rate