My docker are at /var/lib/docker witch is a link to /srv/dev-disk-by-label-WD_10TB_1/docker/docker, yes I am aware got an extra docker folder nested by the way not sure how to get rid of it without loosing my data! anyway to get back to my concern is how to get portainer survive a reboot I read the https://portainer.readthedocs.io/en/stable/deployment.html but I am not able to format this
Code
$ docker run -d -p 9000:9000 -p 8000:8000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v /path/on/host/data:/data portainer/portainer
since I always get some type of errors