Hi,
I have 2 disks mounted to my Linux machine. Is there are way to tell overlay2 driver to use a specific disk (sda, sdb…) for storage?
Share and learn in the Docker community.
Hi,
I have 2 disks mounted to my Linux machine. Is there are way to tell overlay2 driver to use a specific disk (sda, sdb…) for storage?
Either mount your desired drive in whatever docker info | grep Root returns (should be var/lib/docker) or modify /etc/docker/deamon.json and set data-root to whetever you like, e.g.:
{
"data-root": "/mount/point/of/your/drive"
}