Categories

Tools

Docker Volumes and Bind Mounts: Persisting Data

A container loses its data the moment you delete it, unless you store that data outside. Docker gives you two ways: named volumes, which it manages itself under /var/lib/docker/volumes, and bind mounts, which link a host folder. Here you will see when to use each, how to mount them in Compose and how to back them up.

Architecture

How to install JuiceFS as a shared filesystem

JuiceFS is a distributed, POSIX-compliant file system that separates data, stored in an S3-compatible object store, from metadata, stored in a database such as PostgreSQL or Redis. This guide installs JuiceFS on a three-node Linux cluster to share files without relying on NFS.