Skip to main content
The 2024 Developer Survey results are live! See the results
add link to volumes
Source Link
slhck
  • 230.2k
  • 71
  • 621
  • 603

If you want to persist your data you should use volumesuse volumes. In the simplest case, you "bind-mount" specific locations in the container to locations on the host, so that the container processes write/read to the host file system and the data outlives the container. Once you have done this, backing up the data is done as with any other data.

If you want to persist your data you should use volumes. In the simplest case, you "bind-mount" specific locations in the container to locations on the host, so that the container processes write/read to the host file system and the data outlives the container. Once you have done this, backing up the data is done as with any other data.

If you want to persist your data you should use volumes. In the simplest case, you "bind-mount" specific locations in the container to locations on the host, so that the container processes write/read to the host file system and the data outlives the container. Once you have done this, backing up the data is done as with any other data.

Source Link
xenoid
  • 10.2k
  • 4
  • 23
  • 32

If you want to persist your data you should use volumes. In the simplest case, you "bind-mount" specific locations in the container to locations on the host, so that the container processes write/read to the host file system and the data outlives the container. Once you have done this, backing up the data is done as with any other data.