Q. How can secrets be accessed inside a container?

  • (A) Through environment variables
  • (B) Via files mounted at /run/secrets/
  • (C) From a secret API endpoint
  • (D) Using the `docker secrets read` command
πŸ’¬ Discuss
βœ… Correct Answer: (B) Via files mounted at /run/secrets/
Explanation: Secrets are mounted inside the container as files located in `/run/secrets/`.
Explanation by: Mr. Dubey
Secrets are mounted inside the container as files located in `/run/secrets/`.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
86
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
96%
Success Rate