Docker Community Forums

Share and learn in the Docker community.

Change volume path


I use volume mounts to store my container data. By default all volumes are stored in “/var/lib/docker/volumes…”.

I want to store them in a different disk, how could I configure the path for each volume?

Kind regards.

These option can technically be set in the command-line docker volume create -d local -o.... but what come after that -o isnt fun to write :wink: