Comments (4)
possibly better link with links to the build logs:
https://buildd.debian.org/status/package.php?p=slirp4netns&suite=experimental
Note that I disabled running the test-suite on hosts that don't have user-namespaces available. I suspect all of the official build hosts to run on Debian 9 (stable) kernels, which don't have that functionality exposed.
from slirp4netns.
thanks!
from slirp4netns.
I can confirm that I was able to get the combination of podman + slirp4netns working on my Raspberry Pi Zero W devices. My particular route (since compiling some packages I needed was hitting memory limits on my physical devices), involved cross compiling the Debian packages from https://launchpad.net/~projectatomic/+archive/ubuntu/ppa in a Raspbian Buster chroot using qemu for ARM emulation.
Once I did so, I was able to use Podman to do the following:
pi@p1:~ $ podman run -it --rm alpine:latest
/ # apk add --no-cache httpie
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/armhf/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/armhf/APKINDEX.tar.gz
(1/19) Installing libbz2 (1.0.6-r7)
(2/19) Installing libgcc (8.3.0-r0)
(3/19) Installing expat (2.2.7-r0)
(4/19) Installing libffi (3.2.1-r6)
(5/19) Installing gdbm (1.13-r1)
(6/19) Installing xz-libs (5.2.4-r0)
(7/19) Installing ncurses-terminfo-base (6.1_p20190518-r0)
(8/19) Installing ncurses-terminfo (6.1_p20190518-r0)
(9/19) Installing ncurses-libs (6.1_p20190518-r0)
(10/19) Installing readline (8.0.0-r0)
(11/19) Installing sqlite-libs (3.28.0-r0)
(12/19) Installing python3 (3.7.3-r0)
(13/19) Installing py3-chardet (3.0.4-r1)
(14/19) Installing py3-idna (2.8-r1)
(15/19) Installing py3-certifi (2019.6.16-r0)
(16/19) Installing py3-urllib3 (1.25.3-r0)
(17/19) Installing py3-requests (2.21.0-r4)
(18/19) Installing py3-pygments (2.4.0-r0)
(19/19) Installing httpie (1.0.2-r1)
Executing busybox-1.30.1-r2.trigger
OK: 77 MiB in 33 packages
/ # http get https://google.com
HTTP/1.1 301 Moved Permanently
Alt-Svc: quic=":443"; ma=2592000; v="46,43,39"
Cache-Control: public, max-age=2592000
Content-Length: 220
Content-Type: text/html; charset=UTF-8
Date: Fri, 02 Aug 2019 20:31:52 GMT
Expires: Sun, 01 Sep 2019 20:31:52 GMT
Location: https://www.google.com/
Server: gws
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 0
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="https://www.google.com/">here</A>.
</BODY></HTML>
/ # ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: tap0: <BROADCAST,UP,LOWER_UP> mtu 65520 qdisc pfifo_fast state UNKNOWN qlen 1000
link/ether 3a:82:1a:6f:f8:99 brd ff:ff:ff:ff:ff:ff
inet 10.0.2.100/24 brd 10.0.2.255 scope global tap0
valid_lft forever preferred_lft forever
inet6 fd00::3882:1aff:fe6f:f899/64 scope global dynamic
valid_lft 86299sec preferred_lft 14299sec
inet6 fe80::3882:1aff:fe6f:f899/64 scope link
valid_lft forever preferred_lft forever
/ #
If there is interest, I can try to actually run the test suite on one of the devices, device resources permitting.
from slirp4netns.
thanks!
from slirp4netns.
Related Issues (20)
- stalled transfers in container for 5 seconds
- FAIL tests/test-slirp4netns-seccomp.sh (`unshare failed: Operation not permitted`) HOT 2
- slirp4netns fails when used as networking for rootlesskit in Alpine HOT 2
- rootless podman is not able to connect to the external ipv6 network HOT 2
- Instances aren't able to handle jumbo udp packets. HOT 1
- slirp4netns startup issue for path-based configuration
- Please change the "master branch to "main".
- Can't seem to filter packets from slirp4netns HOT 2
- Interaction with bwrap --dev HOT 1
- Load search domains from /etc/resolv.conf
- Rootless Podman can not create containers that bind to privileged (< 1024) ports HOT 3
- rootless Podman-compose containers cannot reach eachother HOT 1
- built-in dns broken with enable-sandbox HOT 1
- port is not bound on all IPs on the host when using --network=slirp4netns:port_handler=slirp4netns
- `--enable-sandbox` is not compatible with `--userns-path=... --netns-type=path` HOT 1
- Cannot pull images with rootless docker on openSUSE Tumbleweed HOT 2
- Access a service from the same ip:port in both a container and the host/lan (docker rootless) HOT 1
- [NixOS] Handling multi-layer and parent symlinks for `/etc/resolv.conf` HOT 2
- Consider supporting TUN in addition to TAP (may achieve better performance, slightly)
- How to configure port forwarding? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slirp4netns.