πŸ“Š Docker
Q. Which of the following is a valid way to mount a volume inside a container?
  • (A) docker run -v /app:/data nginx
  • (B) docker run nginx:/data /app
  • (C) docker mount /data:/app nginx
  • (D) docker start -mount /app:/data nginx
πŸ’¬ Discuss
βœ… Correct Answer: (A) docker run -v /app:/data nginx

Explanation: The `-v` or `--mount` flags are used to mount volumes.

Explanation by: Mr. Dubey
The `-v` or `--mount` flags are used to mount volumes.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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