Volumes
Synpse can mount volumes from the host. Volumes can be used to share data between the containers or persist data so it survives container restart.
Last updated
Was this helpful?
Synpse can mount volumes from the host. Volumes can be used to share data between the containers or persist data so it survives container restart.
Last updated
Was this helpful?
Volumes are the preferred mechanism for persisting data generated by and used by Docker containers. While are dependent on the directory structure and OS of the host machine, volumes are completely managed by Docker.
Volumes are defines as part of your application specification, where /tmp/redis
is host location and /data
is inside the container.
Many applications rely on certain files to be up-to-date from the host machine. You can mount them directly to the container: