A

Admin • 833.24K Points
Coach

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

Explanation by: Admin

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.