mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2026-11-29 14:24:46 +01:00
We noticed that our GitLab Runner libvirt executors didn't have any networking anymore. I have no idea what really changed recently but I discovered https://bzd.gg/posts/docker-libvirt-forward-drop-vm-no-internet/ The article is slop but it pointed me to the right direction. I then found https://www.docker.com/blog/docker-engine-28-hardening-container-networking-by-default/ which is actually the right fix for this as far as I cant tell. I rolled it out and it appears to work.
15 lines
259 B
JSON
15 lines
259 B
JSON
{
|
|
"ipv6": true,
|
|
"fixed-cidr-v6": "fd00::/80",
|
|
"cgroup-parent": "docker.slice",
|
|
"ip-forward-no-drop": true,
|
|
"log-driver": "journald",
|
|
"default-ulimits": {
|
|
"nofile": {
|
|
"Name": "nofile",
|
|
"Hard": 524288,
|
|
"Soft": 1024
|
|
}
|
|
}
|
|
}
|