docker's persistent storage volumes

 
 
  Knock on startup:
  docker run -it -v /var/mydata:/abc myos
  # Write the reality in front of the machine in the folder, write colon docker inside the folder, and finally write the image name (can be mounted in 10 containers at the same time, will be covered)

Guess you like

Origin www.cnblogs.com/wengzhenqi/p/10928985.html