A

Admin • 833.24K Points
Coach

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
  • Correct Answer - Option(D)
  • Views: 42
  • Filed under category Docker
  • Hashtags:

Explanation by: Admin

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.