moby / libnetwork

networking for containers
Apache License 2.0
2.16k stars 881 forks source link

[20.10] libnetwork: skip firewalld management for rootless #2664

Closed AkihiroSuda closed 2 years ago

AkihiroSuda commented 2 years ago

Fix moby/moby#43781

"Cherry-pick" https://github.com/moby/moby/pull/43793

- What I did Fix:

- How I did it

Skip firewalld management when running with RootlessKit

- How to verify it

sudo systemctl enable firewalld
dockerd-rootless-setuptool.sh install -f
docker --context=rootless run --rm alpine sh -euxc 'apk add neofetch && neofetch'

- Description for the changelog

libnetwork: skip firewalld management for rootless

- A picture of a cute animal (not mandatory but encouraged) 🐧

AkihiroSuda commented 2 years ago

cc @thaJeztah