Git Product home page Git Product logo

Comments (4)

siretart avatar siretart commented on July 17, 2024

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.

AkihiroSuda avatar AkihiroSuda commented on July 17, 2024

thanks!

from slirp4netns.

petejohanson avatar petejohanson commented on July 17, 2024

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.

AkihiroSuda avatar AkihiroSuda commented on July 17, 2024

thanks!

from slirp4netns.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.