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
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](https://docs.fossorial.io/Getting%20Started/Manual%20Install%20Guides/docker-compose), putting my domain in wherever "example.com" appears and running docker compose up -d?
Thanks for the help
<!-- gh-comment-id:2917400832 -->
@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: https://github.com/fosrl/pangolin/blob/b467d6afa198a4d77d6399d3418382b5081d7eae/install/main.go#L93
@cameron1982-ha commented on GitHub (May 28, 2025):
I got the same issui, says docker daemon cannot be connected:
=== Starting installation ===
Would you like to install and start the containers? (yes/no) (default: yes): yes
Pulling the container images...
unable to get image 'fosrl/gerbil:1.0.0': Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Error: failed to pull the containers: exit status 1
Tried first on Ubuntu 24.04, then on Debian 12.
Don't know, how to go on?
<!-- gh-comment-id:2917498791 -->
@cameron1982-ha commented on GitHub (May 28, 2025):
I got the same issui, says docker daemon cannot be connected:
> === Starting installation ===
Would you like to install and start the containers? (yes/no) (default: yes): yes
Pulling the container images...
unable to get image 'fosrl/gerbil:1.0.0': Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Error: failed to pull the containers: exit status 1
Tried first on Ubuntu 24.04, then on Debian 12.
Don't know, how to go on?
(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-world
if not running, try to start its service: systemctl start docker
I had an issue about its group, so i had to add docker group:
systemctl daemon-reexec
systemctl restart docker
Now docker's hello world should work: docker run hello-world
pull 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
<!-- gh-comment-id:2917590685 -->
@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-world`
if not running, try to start its service:
`systemctl start docker`
I had an issue about its group, so i had to add docker group:
```groupadd docker
systemctl daemon-reexec
systemctl restart docker
```
Now docker's hello world should work:
`docker run hello-world`
pull 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.
<!-- gh-comment-id:2919602202 -->
@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.
@cameron1982-ha my bad, I actually forgot to add that line. Run that, then the
systemctl daemon-reexec
systemctl restart docker
... and then continue with docker compose
<!-- gh-comment-id:2919688724 -->
@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
```
systemctl daemon-reexec
systemctl restart docker
```
... and then continue with docker compose
The groupadd command is one I have scripted when installing Docker on a new machine just to avoid this issue
<!-- gh-comment-id:2920646067 -->
@kmanwar89 commented on GitHub (May 29, 2025):
> I resolved my issue by adding the docker group.
>
> `groupadd docker`
>
> [@cameron1982-ha](https://github.com/cameron1982-ha) my bad, I actually forgot to add that line. Run that, then the
>
> ```
> systemctl daemon-reexec
> systemctl restart docker
> ```
>
> ... and then continue with docker compose
Adding the group is part of Docker's [recommended post-install steps for Linux](https://docs.docker.com/engine/install/linux-postinstall/), and they cover user permissons/rootless [here](https://docs.docker.com/engine/security/rootless/), if that helps.
The `groupadd` command is one I have scripted when installing Docker on a new machine just to avoid this issue
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
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?
<!-- gh-comment-id:2920939236 -->
@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.
<!-- gh-comment-id:2921487885 -->
@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.
<!-- gh-comment-id:2925313137 -->
@oschwartz10612 commented on GitHub (May 31, 2025):
I think this may be fixed by cd280d13967e079f612abe81f396b8a098db0aa1 and d18200739a73fc695f6e77eae118c2f432915cf7. Testing...
At least this will point the user in the direction of docker if it fails to start/install properly with some feedback. 👍
<!-- gh-comment-id:2925343703 -->
@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. 👍
After that, still on a vanilla EC2, I ran into CrowdSec fails with the defaults:
[+] Running 1/1
✘ Network pangolin Error 0.0s
failed to create network pangolin: Error response from daemon: could not find an available, non-overlapping IPv6 address pool among the defaults to assign to the network
Error installing CrowdSec: failed to start containers: failed to start containers: exit status 1
<!-- gh-comment-id:3388789026 -->
@realrolfje commented on GitHub (Oct 10, 2025):
Vanilla install on a clean aws EC2 instance fails to install Docker:
<img width="585" height="397" alt="Image" src="https://github.com/user-attachments/assets/908338bc-f765-402b-a438-60dc7c3aca44" />
Steps I needed to do manually to install that on EC2:
```
sudo yum install docker
sudo systemctl enable docker
sudo systemctl start docker
sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
```
After that, still on a vanilla EC2, I ran into CrowdSec fails with the defaults:
```
[+] Running 1/1
✘ Network pangolin Error 0.0s
failed to create network pangolin: Error response from daemon: could not find an available, non-overlapping IPv6 address pool among the defaults to assign to the network
Error installing CrowdSec: failed to start containers: failed to start containers: exit status 1
```
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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: https://github.com/fosrl/pangolin/blob/b467d6afa198a4d77d6399d3418382b5081d7eae/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: