title: Move Docker /var/run/docker data to different directory
body: <p>I followed the following tutorial to transfer and permanently move where docker saves data previously inside /usr/bin: <a href="https://linuxconfig.org/how-to-move-docker-s-default-var-lib-docker-to-another-directory-on-ubuntu-debian-linux" rel="noreferrer">https://linuxconfig.org/how-to-move-docker-s-default-var-lib-docker-to-another-directory-on-ubuntu-debian-linux</a></p>
  
  <p>However upon restarting docker and rebuilding all containers, there seems to be activity in /var/run/docker/containerd/ which I was previously trying to work around. I was hoping to have all things docker saved in a specific directory not in /var/run along with my newly created docker directory to replace /usr/bin/docker</p>
  
  <p>Note: <code>df -h</code> did in fact prove that I am out of space in the base directory where /usr/bin and /var/run exists. I am trying to navigate all docker items to a sub directory under /opt</p>
  
  <p>How do I move all things Docker to a different directory? </p>
  
  <p>(Answer) Found in documentation: <a href="https://docs.docker.com/config/daemon/systemd/#runtime-directory-and-storage-driver" rel="noreferrer">https://docs.docker.com/config/daemon/systemd/#runtime-directory-and-storage-driver</a></p>