Docker Community Forums

Share and learn in the Docker community.

Mounting var/lib/docker folder to separate drive

I have two questions,

  1. I have installed docker from binaries (using dockerd & command) on RHEL 7.5 as it does not support docker so it is not listed or can be operate by systemctl. i have separate mount partition in production and want to mount /var/lib/docker folder to that partition. I found some help about it but it generally was done using systemctl which i dont have in case of my docker scenario.

  2. if (just in case) system host is restarted, i dont find docker started automatically probably because it is binaries that are installed by dockerd & command.