You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
unfortunately I have two versions of portainer installed on Ubuntu. One via snap, the other via apt. Currently, the local environment in portainer has the environment url unix:///var/run/docker.sock but the engine root directory is set to /var/snap/docker/common/var-lib-docker.
Recently, after physically moving and rebooting the host system various times, I get a permission error to mount volumes in /opt/... which I attribute to the snap version of docker. Why this only happens now, but all volumes are saved in the directory of the apt version, I have no idea.
My question: Is there a way to change the engine root directory? If not, how do i safely, without losing data, migrate (i.e. delete and create?) the existing portainer container and stacks? How does it know in which directory to look for docker to begin with?
I am happy to provide any details you might need to help but wasn't sure where to start.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Ask a Question!
Hi,
unfortunately I have two versions of portainer installed on Ubuntu. One via snap, the other via apt. Currently, the local environment in portainer has the environment url
unix:///var/run/docker.sockbut the engine root directory is set to/var/snap/docker/common/var-lib-docker.Recently, after physically moving and rebooting the host system various times, I get a permission error to mount volumes in /opt/... which I attribute to the snap version of docker. Why this only happens now, but all volumes are saved in the directory of the apt version, I have no idea.
My question: Is there a way to change the engine root directory? If not, how do i safely, without losing data, migrate (i.e. delete and create?) the existing portainer container and stacks? How does it know in which directory to look for docker to begin with?
I am happy to provide any details you might need to help but wasn't sure where to start.
Beta Was this translation helpful? Give feedback.
All reactions