Skip to content

Instantly share code, notes, and snippets.

@thehajime
Created December 4, 2018 13:50
Show Gist options
  • Save thehajime/745bef944c679e589a8b7702d1ae3668 to your computer and use it in GitHub Desktop.
Save thehajime/745bef944c679e589a8b7702d1ae3668 to your computer and use it in GitHub Desktop.
zakzak3:~/work/frankenlibc% docker run -i --runtime=runu-dev alpine ping 127.0.0.1
Running as root user, must set -u
Can change uid to root, aborting
PING 127.0.0.1 (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: seq=0 ttl=64 time=0.031 ms
64 bytes from 127.0.0.1: seq=1 ttl=64 time=0.057 ms
64 bytes from 127.0.0.1: seq=2 ttl=64 time=0.059 ms
64 bytes from 127.0.0.1: seq=3 ttl=64 time=0.053 ms
^C%
zakzak3:~/work/frankenlibc% docker run -i --runtime=runu-dev alpine dmesg |head
Running as root user, must set -u
Can change uid to root, aborting
[ 0.000000] Linux version 4.16.0+ ([email protected]) (gcc version 8.1.1 20180712 (Red Hat 8.1.1-5) (GCC)) #12 Tue Dec 4 18:19:12 JST 2018
[ 0.000000] bootmem address range: 0x7f2bfb47d000 - 0x7f2c0187c000 [ 0.000000] On node 0 totalpages: 25599 [ 0.000000] Normal zone: 350 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 25599 pages, LIFO batch:0 [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 25249 [ 0.000000] Kernel command line: mem=100M virtio-pci.force_legacy=1 zakzak3:~/work/frankenlibc% docker run -i --runtime=runu-dev alpine uname -a Running as root user, must set -u Can change uid to root, aborting Linux (none) 4.16.0+ #12 Tue Dec 4 18:19:12 JST 2018 lkl Linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment