Posted on

Docker has three different ways of providing persistent storage.

  • The default is by using data volumes. This writes data to a directory on the host system using Docker’s internal volume management.
  • The second way is by specifying a directory on the host system that will be mounted into a specified location inside the container.
  • A third way is by creating a data volume container. Basically, this lets you create a shared container whose data volumes can be used by other containers.
Leave a Reply

Your email address will not be published. Required fields are marked *