Evening all,
I'm trying to get docker and portainer running on a new install of OMV5 on RPi4.
I had everything working and created shared folders for containers etc but then changed the docker storage path and when docker tried to reinstall the status shows installed not running, similar for portainer.
Not quite sure what happened and why it didn't just reinstall but I may have rebooted or refreshed while it was working in the background.
Hopefully fixable through the GUI with your help.
Any tips or guides for best practice in setting up docker through OMV would also be appreciated - folder structure,config files etc.
picture attached with logs.
loving the new omv5 btw
Thanks
franco
Docker and Portainer not working after reinstall
-
- OMV 5.x
- franc0nelis
-
-
You can not use a shared folder for the Docker storage path. Use the actual fully qualified path instead.
-
I'm using an SD card (32Gb) would this not max out quickly?
If I revert back to original path will docker and potainer rebuild.
On that if I remove the sharedfolders path will the original path repopulate.
Thank-you -
-
I'm using an SD card (32Gb) would this not max out quickly?
If I revert back to original path will docker and potainer rebuild.
On that if I remove the sharedfolders path will the original path repopulate.
Thank-youYou do not want to have the Docker storage path on your OMV system disk (/var/lib/docker) for the reason you stated. Put it on one of your data disks instead.
You can use the appropriate steps in the following procedure to move the data.
-
@frac0nelis you probably misunderstood:
You can not use a shared folder for the Docker storage path. Use the actual fully qualified path instead.
When you enter the path to the new docker folder you should use the actual directory path e.g. /srv/dev-disk-by-label-something/docker instead of /sharedfolders/docker
-
Thanks,
Still cant get docker to run.
I'm being a dork - I know
Would these images help suggest anything.
Used >>sudo systemctl status docker to check if docker was up.Still a novice with omv - thanks for your patience
-
-
What is the output of: dpkg -l | grep -e docker -e openm
-
Thanks,
Still cant get docker to run.
I'm being a dork - I know
Would these images help suggest anything.
Used >>sudo systemctl status docker to check if docker was up.Still a novice with omv - thanks for your patience
You are still showing your Docker Storage as:
sharedfolders/docker
You can not use a sharedfolders path here. Use the actual real path to the directory.
-
Please see attached, many thanks..
-
-
Please see attached, many thanks..
the docker-ce package isn't fully installed and is causing your problem. What is the output of:
apt-get install docker-ce
-
Output from stopping and starting docker if it helps...and requested command
Might have something to do with running omv on raspian lite / not sure how to get root for omv other than sudo via raspiand?
Installed docker as root and looks to have completed (last image)
Suppose I could start docker via cli but will wait instruction in case its best run via omv to pick-up storage locations etc.
Thx -
Output from stopping and starting docker if it helps.
Don't worry about trying to start and stop until the package is installed. And please cut&paste instead of screenshots.
That command needed to be run as root. So, either login as root or use sudo. sudo apt-get install docker-ce
-
-
You can not install packages as a regular user. Either become the root user or use sudo.
-
Docker looks to be installed - should I start it via cli or omv?
Best rgds -
I also have this identical issue randomly.
Noticed my hostname changed on it's own, Docker would not show as installed, changed hostname back to the original - updated OMV (version update released last night?) - restarted, Docker now showing installed however portainer is gone...
-
-
-
Docker looks to be installed
dpkg -l | grep docker-ce has ii in the first column? If so, then it is installed properly and you can try to start it.
-
Output from dpkg -l
rH docker-ce 5:19.03.5~3-0~debian-buster armhf Docker: the open-source application container engine
pi docker-ce-cli 5:19.03.5~3-0~debian-buster armhf Docker CLI: the open-source application container engine
pi@omv:~ $
Start-up script says "Failed to start LSB:"
Systemctl says:pi@omv:~ $ sudo systemctl status docker.service
* docker.service - LSB: Create lightweight, portable, self-sufficient containers.
Loaded: loaded (/etc/init.d/docker; generated)
Active: failed (Result: exit-code) since Wed 2019-12-04 16:56:23 GMT; 9min ago
Docs: man:systemd-sysv-generator(8)
Process: 916 ExecStart=/etc/init.d/docker start (code=exited, status=1/FAILURE)Dec 04 16:56:23 omv systemd[1]: Starting LSB: Create lightweight, portable, self-sufficient containers....
Dec 04 16:56:23 omv docker[916]: /usr/bin/dockerd not present or not executable ... failed!
Dec 04 16:56:23 omv systemd[1]: docker.service: Control process exited, code=exited, status=1/FAILURE
Dec 04 16:56:23 omv systemd[1]: docker.service: Failed with result 'exit-code'.
Dec 04 16:56:23 omv systemd[1]: Failed to start LSB: Create lightweight, portable, self-sufficient containers..
pi@omv:~ $Any thoughts?
thx -
-
Restarted OMV Again - Needed to Stop and Start systemctl again in order for Portainer to work. Any Advice?
-
rH docker-ce
rh does not equal ii. So, it isn't installed properly. Without the output of apt-get install docker-ce, I can't help.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!