Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil.
-
No spam.
-
Posts are to be related to self-hosting.
-
Don't duplicate the full text of your blog or readme if you're providing a link.
-
Submission headline should match the article title.
-
No trolling.
-
Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.
-
AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
Except if I try and access the same domain using curl, it works fine. For some reason, Docker specifically is what's failing.
Different programs have different defaults.
But in your situation which would be more helpful - prevent this one docker command from using ipv6 (likely more difficult), or preventing all commands from using your broken ipv6 config (likely easier)?
I have no idea about the first. Maybe some people know this detail. But I'm sure that with a distro and version that you're running, there are lots of people who could help with the second. Raspberry Pi 3B+ is the hardware. What software are you using?
Whatever the latest version of Raspbian was a month or two ago when I installed it.
uname -aoutputs[...]6.12.25+rpt-rpi-v8[...]./etc/os-releasecontains "Debian GNU/Linux 12 (bookworm)".Ok, so it's probably using NetworkManager. I would try disabling it in /etc/NetworkManager/NetworkManager.conf by adding a block like:
Then
sudo systemctl restart NetworkManager. Can't say for sure if this will work. I dislike using NetworkManager on my servers so I can't test if this works. But hopefully the before/after ofip addris different.Although it looks like your
ip addroutput posted an hour or so ago doesn't show any ipv6 addressing. Maybe the problem is solved now.Unfortunately not.
Well crap. Do you have no ipv6 address now in
ip addr?Guess I gave Docker too much benefit of the doubt and assumed it should failover to v4 once v6 was disabled. Bad assumption on my part.
Could it be a DNS problem? If you
dig registry-1.docker.io +shortdoes it return an ipv4 or v6 address?It looks like there have been sporadic reports of problems from people since last year.
Just comparing it by eye, there's no change.
But if I ping it
It's in the dnsutils package.
Try adding
{"ipv6": false}to your/etc/docker/daemon.jsonfile (create it if it doesnt exist), then restart docker withsudo systemctl restart docker- this forces docker to use IPv4 only.This flag seems to only disable ipv6 on the default Docker bridge network, not daemon-wide. At least per this discussion.