Changes
support detach-netns (#379 , thanks to @fahedouch)
Planned to be used for:
- accelerating (and deflaking)
nerdctl pull
andnerdctl build
- supporting
nerdctl run --net=host
new network driver: pasta
(with port driver implicit
) (#358)
Pasta: https://passt.top/passt/
Usage:rootlesskit --net=pasta --port-driver=implicit
No support for explicit port forwarding (
rootlessctl add-ports
),
as pasta doesn't support it yet.
Use--port-driver=implicit
to let pasta forward TCP ports implicitly.
The forwarded ports are not visible inrootlessctl list-ports
.No support for forwarding UDP ports
Tested with pasta 2023_06_25.32660ce on Ubuntu 23.04.
Doesn't work with 2023_06_03.429e1a7:Option --no-copy-routes needs --config-net
(This is printed despite that--no-copy-routes
is not specified)Doesn't work with Ubuntu 23.04's dpkg (passt_0.0~git20230216.4663ccc-1_amd64.deb):
Couldn't open user namespace /proc/51813/ns/user: Permission denied
Likely to be related to AppArmor.
sudo apparmor_parser -R /etc/apparmor.d/usr.bin.passt
can eliminate this error, but pasta still fails with another error (Couldn't get any nameserver address
)
Add --print-semver=(major|minor|patch)
(#381)
Full changes: https://github.com/rootless-containers/rootlesskit/milestone/5?closed=1
Install
mkdir -p ~/bin
curl -sSL https://github.com/rootless-containers/rootlesskit/releases/download/v2.0.0-alpha.0/rootlesskit-$(uname -m).tar.gz | tar Cxzv ~/bin
About the binaries
The binaries were built automatically on GitHub Actions.
See the log to verify SHA256SUMS.
https://github.com/rootless-containers/rootlesskit/actions/runs/5413506727
The sha256sum of the SHA256SUMS file itself is 8d0affc6d77eda70b1fcc3c6e328fb1b7d2e32670f0434a4068de2e692941197 .