You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, img itself cannot "commit" the cache due to EPERM, as img
itself does not have access to files owned by its subusers (_apt).
solving failed: failed to commit rt3w4yqk2tkibexmj15dtavb8: open /tmp/img/runc/naive/snapshots/snapshots/5/var/lib/apt/lists/partial: permission denied
So I suggest running img itself in userns with newuidmap/newgidmap.
(probably via reexec for better UX)
If we can run img itself in userns, we can also:
remove "mountless" code, which is not highly likely to be merged to upstream containerd/buildkit, and allow using Ubuntu-patched overlayfs again.
create netns (with SUID lxc-user-net or slirp) for better isolation, especially for
prohibiting containers from accessing "abstract" sockets on the host.
The text was updated successfully, but these errors were encountered:
I keep hitting this opencontainers/runc#1658 regardless of userns or non userns and I'm just wondering if this is because of Dockers masked paths or read only paths although I tried removing those and it still didn't work. It's super odd to me
This branch allows containers to use subuid/subgid (i.e.
apt update
works): https://github.com/jessfraz/img/compare/master...AkihiroSuda:allow-subuidgid.20180227?expand=1However,
img
itself cannot "commit" the cache due to EPERM, asimg
itself does not have access to files owned by its subusers (
_apt
).So I suggest running
img
itself in userns with newuidmap/newgidmap.(probably via reexec for better UX)
If we can run
img
itself in userns, we can also:prohibiting containers from accessing "abstract" sockets on the host.
The text was updated successfully, but these errors were encountered: