Workaround for outdated slirp4netns on debian (#13029)

* Workaround for outdated slirp4netns on debian

I had issue on debian 11 where the package on the 
main apt repositories was too old. This provides workaround, by 
adding the testing repos to sources list then upgrading slirp4netns

* pr review

- add console tag
- add newline before console code block
- remove the installation instructions to `slirp4netns` and link to the releases page, which will have it anyway.

* pr review

- add in suggested comment about vpnkit
This commit is contained in:
Jem Bishop 2021-07-01 17:11:09 +01:00 committed by GitHub
parent 00ce93eda3
commit c53a05b8c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -76,6 +76,15 @@ testuser:231072:65536
`sudo modprobe overlay permit_mounts_in_userns=1`
([Debian-specific kernel patch, introduced in Debian 10](https://salsa.debian.org/kernel-team/linux/blob/283390e7feb21b47779b48e0c8eb0cc409d2c815/debian/patches/debian/overlayfs-permit-mounts-in-userns.patch)).
Add the configuration to `/etc/modprobe.d` for persistence.
- Rootless docker requires version of `slirp4netns` greater than `v0.4.0` (when `vpnkit` is not installed).
Check you have this with
```console
$ slirp4netns --version
```
If you do not have this download and install the latest [release](https://github.com/rootless-containers/slirp4netns/releases).
</div>
<div id="hint-arch" class="tab-pane fade in" markdown="1">
- Installing `fuse-overlayfs` is recommended. Run `sudo pacman -S fuse-overlayfs`.