Docker - Portainer Fails to Start

I have installed Docker/portainer about 6 times in two weeks. I keep getting portainer running - Reboot - Exit error code 2. install again - runs for several days, portainer fails to start, Delete reinstall - all docker images will now say “created on a different host” and I have no access for changes. Does Docker run special on opensuse?

I have installed via yast and Zypper. I find the zypper install has less issues with docker.

I have been running docker on ubuntu for at least 6 years - I think I am just a basic user of docker, but I have been running it with out issues.

My current error: [Docker compose failed: exited with code 2]

to get the error, I just rebooted the machine.
I installed the system, got everything running, and then just did a restart. strange. It is always portainer that fails to start. Not always the same error. I want to say I have rebuilt the system 4 times on leap 15.6. Should I try tumbleweed?

Nothing special about running Docker on openSUSE (Leap or Tumbleweed; I run it on TW here).

Can you show the output that you’re getting - cut and paste the text, use the preformatted text icon in the forums editor toolbar (the icon that looks like </>) , including the command you executed.

I also use Portainer here. Using YaST or zypper won’t make a difference for Docker, as they use the same solver and install the same packages.

Also, show the docker-compose file you’re using for portainer.

Something else that would be useful is to make sure you’re a member of the “docker” group - if you’re not, you won’t have sufficient permissions to run docker containers. This is required because docker can bind mount directories, so there’s a privilege escalation that can happen if any user can start containers.

1 Like