How to view the default mount directory of the docker image

How to view the default mount directory of the docker image

Each image will have its own default mount directory. Only by knowing the default mount directory of the image can we specify the directory mapping when creating a container based on the image. So how do you know the default mount directory of the mirror?

  1. Open docker official website: https://hub.docker.com/
  2. insert image description here
  3. insert image description here
  4. insert image description here
  5. insert image description here
  6. After the VOLUME keyword is the directory to be persisted, which is the default mounting directory of the mirror

Guess you like

Origin blog.csdn.net/simpleness_/article/details/128242831