From 2494ede1067d5071d3cc7d355cdc2ae3fac66dc5 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 11 Jan 2026 03:32:21 +0900 Subject: container/init: configure interface lo This enables loopback networking when owning the net namespace. Signed-off-by: Ophestra --- container/container.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'container/container.go') diff --git a/container/container.go b/container/container.go index bb60c23e..d76a0907 100644 --- a/container/container.go +++ b/container/container.go @@ -263,6 +263,8 @@ func (p *Container) Start() error { CAP_SYS_ADMIN, // drop capabilities CAP_SETPCAP, + // bring up loopback interface + CAP_NET_ADMIN, // overlay access to upperdir and workdir CAP_DAC_OVERRIDE, }, -- cgit v1.3.1