[GH-ISSUE #1546] Unable to start gerbil with podman #8715

Closed
opened 2026-04-30 04:43:25 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @Froggy232 on GitHub (Sep 26, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/1546

Hi,
I try to deploy Pangolin with podman and quadlet files, but gerbil fail to launch, it tell me : INFO: 2025/09/26 16:34:31 Fetching remote config from http://127.0.0.1:3001/api/v1/gerbil/get-config ERROR: 2025/09/26 16:34:31 Error fetching remote config http://127.0.0.1:3001/api/v1/gerbil/get-config: Post "http://127.0.0.1:3001/api/v1/gerbil/get-config": dial tcp 127.0.0.1:3001: connect: connection refused ERROR: 2025/09/26 16:34:31 Failed to load configuration: Post "http://127.0.0.1:3001/api/v1/gerbil/get-config": dial tcp 127.0.0.1:3001: connect: connection refused

My quadlet files are here :

Does somebody already achieved to deploy pangolin with podman, without the installer? Could someone help me?

Thanks you a lot!

Originally created by @Froggy232 on GitHub (Sep 26, 2025). Original GitHub issue: https://github.com/fosrl/pangolin/issues/1546 Hi, I try to deploy Pangolin with podman and quadlet files, but gerbil fail to launch, it tell me : `INFO: 2025/09/26 16:34:31 Fetching remote config from http://127.0.0.1:3001/api/v1/gerbil/get-config ERROR: 2025/09/26 16:34:31 Error fetching remote config http://127.0.0.1:3001/api/v1/gerbil/get-config: Post "http://127.0.0.1:3001/api/v1/gerbil/get-config": dial tcp 127.0.0.1:3001: connect: connection refused ERROR: 2025/09/26 16:34:31 Failed to load configuration: Post "http://127.0.0.1:3001/api/v1/gerbil/get-config": dial tcp 127.0.0.1:3001: connect: connection refused` My quadlet files are here : - [app.container](https://privatebin.alrhome.net/?fe97495c335007dc#AxqJMLqMCXiCAuVKEH5B1YqANdKeq8DWbyiqHEVDxSKG) - [gerbil.container](https://privatebin.alrhome.net/?ac33ef6a3e00c254#9Nc8P1UU7t9CSKnyRQmsXxCb69tZFTDeWKiMM7f6ntYR) - [traefik.container](https://privatebin.alrhome.net/?1345d307191def4c#HRYCTLqpFJBUtK5SYU87AyVJoRewesu67NZ6e5aj84GX) - [pangolin.pod](https://privatebin.alrhome.net/?2d8b579ce423ee23#BkJZPp9mbwByPiVbthU89attn6RZ2x5xqgYfMih4utYM) Does somebody already achieved to deploy pangolin with podman, without the installer? Could someone help me? Thanks you a lot!
Author
Owner

@hhftechnology commented on GitHub (Sep 28, 2025):

use app rather than localhost.
test it with

podman exec -it gerbil curl -v http://app:3001/api/v1/gerbil/get-config

podman pod-internal DNS will resolve that.

[Container]
Pod=pangolin.pod
ContainerName=gerbil
Exec='--reachableAt=http://127.0.0.1:3003' \
     '--generateAndSaveKeyTo=/var/config/key' \
     '--remoteConfig=http://app:3001/api/v1/' \
     '--sni-port=443'
Image=docker.io/fosrl/gerbil
Volume=%h/config/:/var/config:z

that should fix the issue

If you are deploying local, then you don't need gerbil

<!-- gh-comment-id:3342534851 --> @hhftechnology commented on GitHub (Sep 28, 2025): use app rather than localhost. test it with ```curl podman exec -it gerbil curl -v http://app:3001/api/v1/gerbil/get-config ``` podman pod-internal DNS will resolve that. ```ini [Container] Pod=pangolin.pod ContainerName=gerbil Exec='--reachableAt=http://127.0.0.1:3003' \ '--generateAndSaveKeyTo=/var/config/key' \ '--remoteConfig=http://app:3001/api/v1/' \ '--sni-port=443' Image=docker.io/fosrl/gerbil Volume=%h/config/:/var/config:z ``` that should fix the issue If you are deploying local, then you don't need gerbil
Author
Owner

@Froggy232 commented on GitHub (Sep 28, 2025):

Thanks you so much, it has solved the problem and I have learned something that will be very useful for other containers too, thanks you a lot.
Have a nice day!

<!-- gh-comment-id:3342596866 --> @Froggy232 commented on GitHub (Sep 28, 2025): Thanks you so much, it has solved the problem and I have learned something that will be very useful for other containers too, thanks you a lot. Have a nice day!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#8715