mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
Docker compose.yaml missing ipv6 support #4017
Labels
No labels
A:accessibility
A:api
A:cert-expiry
A:core
A:dashboard
A:deployment
A:documentation
A:domain expiry
A:incidents
A:maintenance
A:metrics
A:monitor
A:notifications
A:reports
A:settings
A:status-page
A:ui/ux
A:user-management
Stale
ai-slop
blocked
blocked-upstream
bug
cannot-reproduce
dependencies
discussion
duplicate
feature-request
feature-request
good first issue
hacktoberfest
help
help wanted
house keeping
invalid
invalid-format
invalid-format
question
releaseblocker 🚨
security
spam
type:enhance-existing
type:new
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uptime-kuma#4017
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @neilbags on GitHub (Mar 4, 2025).
📑 I have found these related issues/pull requests
I can't see any reporting ipv6 issue with the docker container where docker ipv6 is otherwise configured and working
🛡️ Security Policy
Description
I'm using uptime-kuma from the latest docker image:
Docker ipv6 is configured:
Docker ipv6 is working:
ipv6 in the uptime-kuma container is not:
Have tested on multiple hosts, Ubuntu 24.04 and 22.04.
👟 Reproduction steps
👀 Expected behavior
ipv6 works
😓 Actual Behavior
🐻 Uptime-Kuma Version
1.23.16
💻 Operating System and Arch
Ubuntu 24.04
🌐 Browser
Firefox 135.0.1
🖥️ Deployment Environment
Default docker image
📝 Relevant log output
@CommanderStorm commented on GitHub (Mar 7, 2025):
If ipv6.google.com is not reachable from the docker container, this is not our fault.
There is something wrong with how you set up the networking => start with the midpoint, look if pinging works => bisect your network from there..
Setting docker up to support ipv6 can be tricky
Closing as resolved as not an issue in our docker image
@neilbags commented on GitHub (Mar 7, 2025):
@CommanderStorm I had another look at this - ipv6 was enabled and working in docker but it appears that it needs to be explicitly enabled in the compose file. i.e. this works:
The provided compose.yaml doesn't work with ipv6 (at least on my systems) and I can't see any way to enable it globally. Do you want me to submit a PR to update the provided compose.yaml?
@CommanderStorm commented on GitHub (Mar 7, 2025):
Could you try the debugging step in https://docs.docker.com/engine/daemon/ipv6/#use-ipv6-for-the-default-bridge-network first?
This seems like a bug in docker..
@neilbags commented on GitHub (Mar 9, 2025):
Do you mean setting
"ipv6": trueand"fixed-cidr-v6"indaemon.json? Yes I have done that (see above) and it does work for containers brought up using withdocker runbut doesn't work fordocker composewithout specifyingenable_ipv6: truein compose file.The guide does mention:
"This also applies to networks created from a Docker Compose file, with enable_ipv6 set to true." which sort-of implies that its required in the compose file.
I also tried specifying
default-address-poolsbut that didn't change the behavior@CommanderStorm commented on GitHub (Mar 10, 2025):
No, does docker run --rm -p 80:80 traefik/whoami bind to ipv6
The docs pretty clearly state that the docker compose part should not be nessesary
@neilbags commented on GitHub (Mar 10, 2025):
yes
@louislam commented on GitHub (Apr 4, 2025):
It is a docker compose issue, if you start Uptime Kuma via command line, it is able to ping too.
It seems you need to add some extra ipv6 config in your compose.yaml, but it is a bit complicated. I actually don't understand why they were doing this.
Read more:
https://stackoverflow.com/questions/39649458/how-to-assign-ipv6-address-with-docker-compose
@hvisage commented on GitHub (Jul 16, 2025):
using the Live demo of Kuma, I cant seem to have it resolve IPv6 only endpoints either. Would be great to showcase the live demo with IPv6