mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-07 13:19:07 -05:00
[GH-ISSUE #794] Installer failed installing docker - rerunning docker piece alone #8401
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @djl0 on GitHub (May 28, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/794
Originally assigned to: @oschwartz10612 on GitHub.
Hi - I was going through the installer (ubuntu 22), and the installer failed to start docker (install worked) because there was no docker group. so i added the group, got docker working, but then when i re-started the installer, it finished, but seemed to not have docker containers it should have set up. I see the section in docs for doing manual install via docker, but I just want to know what commands are for the docker-compose section of installer, like is there anything at all different from just downloading the compose file here, putting my domain in wherever "example.com" appears and running docker compose up -d?
Thanks for the help
@djl0 commented on GitHub (May 28, 2025):
I think I sorted it out. For future ref, there's a generated docker-compose.yml file in the working dir, and i ran the docker compose pull and up commands which are found in:
b467d6afa1/install/main.go (L93)@cameron1982-ha commented on GitHub (May 28, 2025):
I got the same issui, says docker daemon cannot be connected:
Tried first on Ubuntu 24.04, then on Debian 12.
Don't know, how to go on?
@djl0 commented on GitHub (May 28, 2025):
@cameron1982-ha:
(all of these commands are being run by root on my vps)
Make sure docker is installed and running. run docker hello world:
docker run hello-worldif not running, try to start its service:
systemctl start dockerI had an issue about its group, so i had to add docker group:
Now docker's hello world should work:
docker run hello-worldpull and start docker containers (your current dir should have the docker-compose.yml generated by installer)
docker compose -f docker-compose.yml up -d --force-recreate@oschwartz10612 commented on GitHub (May 29, 2025):
I will have to look into this. I dont usually have a permission problem because the installer is being run as root and the docker socket is accessible by root. I wonder if it is a race condition and it simply is not running yet. Thats my best guess.
We probably need to wait for the docker socket to be available before moving on.
@djl0 commented on GitHub (May 29, 2025):
I resolved my issue by adding the docker group.
groupadd docker@cameron1982-ha my bad, I actually forgot to add that line. Run that, then the
... and then continue with docker compose
@kmanwar89 commented on GitHub (May 29, 2025):
Adding the group is part of Docker's recommended post-install steps for Linux, and they cover user permissons/rootless here, if that helps.
The
groupaddcommand is one I have scripted when installing Docker on a new machine just to avoid this issue@kalikid021 commented on GitHub (May 30, 2025):
I just want to comment that this may be an issue with the docker package. I was installing docker as part of an agent for an agent, totally unrelated to pangolin, a couple days ago when installing docker on Open Media Vault (debian 12). I followed the docker install instructions from their website
https://docs.docker.com/engine/install/debian/
I ran into the same issue with docker not starting, and after troubleshooting the issue I discovered that the none of the packages created the docker group, after manually creating it, everything ran fine.
Just for clarity, I have installed docker dozens of times on linux distros ,over the past year, and not one single time have I had to manually create the docker group. Perhaps this is a new change for docker since they are trying to move toward a rootless setup?
@cameron1982-ha commented on GitHub (May 30, 2025):
Today I did the same steps like a few days before... now the installer progress went well and I got pangolin up and running on a remote host. Nothing changed from my side, maybe the installer script was updated. However, docker runs and pangolin although.
Thanks a lot.
@oschwartz10612 commented on GitHub (May 31, 2025):
I think this may be fixed by
cd280d1396andd18200739a. Testing...@kalikid021 commented on GitHub (May 31, 2025):
At least this will point the user in the direction of docker if it fails to start/install properly with some feedback. 👍
@realrolfje commented on GitHub (Oct 10, 2025):
Vanilla install on a clean aws EC2 instance fails to install Docker:
Steps I needed to do manually to install that on EC2:
After that, still on a vanilla EC2, I ran into CrowdSec fails with the defaults: