Has anyone gotten overlayroot and docker to work together? I'm running Ubuntu 18.04.3LTS and docker daemon won't start up.
Specifically:
sudo apt-get install docker.io overlayroot
sudo docker ps #works, no errors.
Edit /etc/overlayroot.conf to change: overlayroot="" to overlayroot="tmpfs"
sudo update-initramfs -u
sudo reboot #to reboot into the read only overlay filesystem
sudo docker ps # Get the following error:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
ps: to remove the overlay filesystem do the following:
sudo overlayroot-chroot
Edit that same file to put it back to the original.
sudo update-initramfs -u
exit #to exit the chroot environment
sudo reboot #your system is back to a normal read/write Ubuntu system and "sudo docker ps" works again.