Skip to content

Commit 4d6a45b

Browse files
committed
Isolate systemd user network namespace from host
Signed-off-by: Anders F Björklund <[email protected]>
1 parent 149400a commit 4d6a45b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/systemd/user/buildkit.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Documentation=https://github.com/moby/buildkit
55
[Service]
66
Type=notify
77
NotifyAccess=all
8-
ExecStart=rootlesskit /usr/local/bin/buildkitd --addr unix://%t/buildkit/rootless
8+
ExecStart=rootlesskit --net=slirp4netns --copy-up=/etc --disable-host-loopback /usr/local/bin/buildkitd --addr unix://%t/buildkit/rootless
99

1010
[Install]
1111
WantedBy=multi-user.target

0 commit comments

Comments
 (0)