Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't enter a Debian toolbox container from a docker image #393

Closed
heyakyra opened this issue Mar 25, 2020 · 2 comments
Closed

Can't enter a Debian toolbox container from a docker image #393

heyakyra opened this issue Mar 25, 2020 · 2 comments

Comments

@heyakyra
Copy link

Running Fedora 32 Silverblue

$ rpm -q toolbox
toolbox-0.0.18-2.fc32.noarch
$ podman --version
podman version 1.8.0

Creating the container works

$ toolbox create --container debian --image [docker.io/library/debian:latest](https://docker.io/library/debian:latest)  
Image required to create toolbox container.  
Download [docker.io/library/debian:latest](https://docker.io/library/debian:latest) (500MB)? \[y/N\]: y   
Created container: debian  
Enter with: toolbox enter --container debian
$ podman images
REPOSITORY                                      TAG      IMAGE ID       CREATED        SIZE
docker.io/library/debian                        latest   971452c94376   4 weeks ago    119 MB

Entering doesn't work

$ toolbox enter --container debian
toolbox: invalid entry point PID of container debian

Verbose output:

$ toolbox --verbose enter --container debian
toolbox: running as real user ID 1000
toolbox: resolved absolute path for /usr/bin/toolbox to /usr/bin/toolbox
toolbox: checking if /etc/subgid and /etc/subuid have entries for user kyra
toolbox: TOOLBOX_PATH is /usr/bin/toolbox
toolbox: running on a cgroups v1 host
toolbox: current Podman version is 1.8.0
toolbox: migration not needed: Podman version 1.8.0 is old
toolbox: Fedora generational core is f32
toolbox: base image is fedora-toolbox:32
toolbox: container is debian
toolbox: checking if container debian exists
toolbox: calling org.freedesktop.Flatpak.SessionHelper.RequestSession
toolbox: starting container debian
toolbox: /etc/profile.d/toolbox.sh already mounted in container debian
toolbox: inspecting entry point of container debian
toolbox: entry point of container debian is toolbox
toolbox: waiting for container debian to finish initializing
toolbox: invalid entry point PID of container debian

Very verbose output:

$ toolbox --very-verbose enter --container debian
toolbox: running as real user ID 1000
toolbox: resolved absolute path for /usr/bin/toolbox to /usr/bin/toolbox
toolbox: checking if /etc/subgid and /etc/subuid have entries for user kyra
toolbox: TOOLBOX_PATH is /usr/bin/toolbox
toolbox: running on a cgroups v1 host
DEBU[0000] Reading configuration file "/home/kyra/.config/containers/libpod.conf" 
DEBU[0000] Merged system config "/home/kyra/.config/containers/libpod.conf": &{{false false false true true true} 0 {   [] [] []} /var/home/kyra/.local/share/containers/storage/volumes docker://  /usr/bin/crun map[runc:[/usr/bin/runc /usr/sbin/runc /usr/local/bin/runc /usr/local/sbin/runc /sbin/runc /bin/runc /usr/lib/cri-o-runc/sbin/runc]] [] [] [] [/usr/libexec/podman/conmon /usr/local/lib/podman/conmon /usr/bin/conmon /usr/sbin/conmon /usr/local/bin/conmon /usr/local/sbin/conmon] [PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] systemd /usr/libexec/podman/catatonit /var/home/kyra/.local/share/containers/storage/libpod /run/user/1000/libpod/tmp -1 false /etc/cni/net.d/ [/usr/libexec/cni /usr/lib/cni /usr/local/lib/cni /opt/cni/bin]  []   k8s.gcr.io/pause:3.1 /pause true true  2048  journald  ctrl-p,ctrl-q false false} 
DEBU[0000] Using conmon: "/usr/bin/conmon"              
DEBU[0000] Initializing boltdb state at /var/home/kyra/.local/share/containers/storage/libpod/bolt_state.db 
DEBU[0000] Using graph driver overlay                   
DEBU[0000] Using graph root /var/home/kyra/.local/share/containers/storage 
DEBU[0000] Using run root /run/user/1000                
DEBU[0000] Using static dir /var/home/kyra/.local/share/containers/storage/libpod 
DEBU[0000] Using tmp dir /run/user/1000/libpod/tmp      
DEBU[0000] Using volume path /var/home/kyra/.local/share/containers/storage/volumes 
DEBU[0000] Set libpod namespace to ""                   
DEBU[0000] No store required. Not opening container store. 
DEBU[0000] Initializing event backend journald          
DEBU[0000] using runtime "/usr/bin/runc"                
DEBU[0000] using runtime "/usr/bin/crun"                
INFO[0000] running as rootless                          
toolbox: current Podman version is 1.8.0
toolbox: migration not needed: Podman version 1.8.0 is old
toolbox: Fedora generational core is f32
toolbox: base image is fedora-toolbox:32
toolbox: container is debian
toolbox: checking if container debian exists
DEBU[0000] Reading configuration file "/home/kyra/.config/containers/libpod.conf" 
DEBU[0000] Merged system config "/home/kyra/.config/containers/libpod.conf": &{{false false false true true true} 0 {   [] [] []} /var/home/kyra/.local/share/containers/storage/volumes docker://  /usr/bin/crun map[runc:[/usr/bin/runc /usr/sbin/runc /usr/local/bin/runc /usr/local/sbin/runc /sbin/runc /bin/runc /usr/lib/cri-o-runc/sbin/runc]] [] [] [] [/usr/libexec/podman/conmon /usr/local/lib/podman/conmon /usr/bin/conmon /usr/sbin/conmon /usr/local/bin/conmon /usr/local/sbin/conmon] [PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] systemd /usr/libexec/podman/catatonit /var/home/kyra/.local/share/containers/storage/libpod /run/user/1000/libpod/tmp -1 false /etc/cni/net.d/ [/usr/libexec/cni /usr/lib/cni /usr/local/lib/cni /opt/cni/bin]  []   k8s.gcr.io/pause:3.1 /pause true true  2048  journald  ctrl-p,ctrl-q false false} 
DEBU[0000] Using conmon: "/usr/bin/conmon"              
DEBU[0000] Initializing boltdb state at /var/home/kyra/.local/share/containers/storage/libpod/bolt_state.db 
DEBU[0000] Using graph driver overlay                   
DEBU[0000] Using graph root /var/home/kyra/.local/share/containers/storage 
DEBU[0000] Using run root /run/user/1000                
DEBU[0000] Using static dir /var/home/kyra/.local/share/containers/storage/libpod 
DEBU[0000] Using tmp dir /run/user/1000/libpod/tmp      
DEBU[0000] Using volume path /var/home/kyra/.local/share/containers/storage/volumes 
DEBU[0000] Set libpod namespace to ""                   
DEBU[0000] No store required. Not opening container store. 
DEBU[0000] Initializing event backend journald          
DEBU[0000] using runtime "/usr/bin/runc"                
DEBU[0000] using runtime "/usr/bin/crun"                
INFO[0000] running as rootless                          
DEBU[0000] Reading configuration file "/home/kyra/.config/containers/libpod.conf" 
DEBU[0000] Merged system config "/home/kyra/.config/containers/libpod.conf": &{{false false false true true true} 0 {   [] [] []} /var/home/kyra/.local/share/containers/storage/volumes docker://  /usr/bin/crun map[runc:[/usr/bin/runc /usr/sbin/runc /usr/local/bin/runc /usr/local/sbin/runc /sbin/runc /bin/runc /usr/lib/cri-o-runc/sbin/runc]] [] [] [] [/usr/libexec/podman/conmon /usr/local/lib/podman/conmon /usr/bin/conmon /usr/sbin/conmon /usr/local/bin/conmon /usr/local/sbin/conmon] [PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] systemd /usr/libexec/podman/catatonit /var/home/kyra/.local/share/containers/storage/libpod /run/user/1000/libpod/tmp -1 false /etc/cni/net.d/ [/usr/libexec/cni /usr/lib/cni /usr/local/lib/cni /opt/cni/bin]  []   k8s.gcr.io/pause:3.1 /pause true true  2048  journald  ctrl-p,ctrl-q false false} 
DEBU[0000] Using conmon: "/usr/bin/conmon"              
DEBU[0000] Initializing boltdb state at /var/home/kyra/.local/share/containers/storage/libpod/bolt_state.db 
DEBU[0000] Using graph driver overlay                   
DEBU[0000] Using graph root /var/home/kyra/.local/share/containers/storage 
DEBU[0000] Using run root /run/user/1000                
DEBU[0000] Using static dir /var/home/kyra/.local/share/containers/storage/libpod 
DEBU[0000] Using tmp dir /run/user/1000/libpod/tmp      
DEBU[0000] Using volume path /var/home/kyra/.local/share/containers/storage/volumes 
DEBU[0000] Set libpod namespace to ""                   
DEBU[0000] No store required. Not opening container store. 
DEBU[0000] Initializing event backend journald          
DEBU[0000] using runtime "/usr/bin/runc"                
DEBU[0000] using runtime "/usr/bin/crun"                
toolbox: calling org.freedesktop.Flatpak.SessionHelper.RequestSession
toolbox: starting container debian
DEBU[0000] Reading configuration file "/home/kyra/.config/containers/libpod.conf" 
DEBU[0000] Merged system config "/home/kyra/.config/containers/libpod.conf": &{{false false false true true true} 0 {   [] [] []} /var/home/kyra/.local/share/containers/storage/volumes docker://  /usr/bin/crun map[runc:[/usr/bin/runc /usr/sbin/runc /usr/local/bin/runc /usr/local/sbin/runc /sbin/runc /bin/runc /usr/lib/cri-o-runc/sbin/runc]] [] [] [] [/usr/libexec/podman/conmon /usr/local/lib/podman/conmon /usr/bin/conmon /usr/sbin/conmon /usr/local/bin/conmon /usr/local/sbin/conmon] [PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] systemd /usr/libexec/podman/catatonit /var/home/kyra/.local/share/containers/storage/libpod /run/user/1000/libpod/tmp -1 false /etc/cni/net.d/ [/usr/libexec/cni /usr/lib/cni /usr/local/lib/cni /opt/cni/bin]  []   k8s.gcr.io/pause:3.1 /pause true true  2048  journald  ctrl-p,ctrl-q false false} 
DEBU[0000] Using conmon: "/usr/bin/conmon"              
DEBU[0000] Initializing boltdb state at /var/home/kyra/.local/share/containers/storage/libpod/bolt_state.db 
DEBU[0000] Using graph driver overlay                   
DEBU[0000] Using graph root /var/home/kyra/.local/share/containers/storage 
DEBU[0000] Using run root /run/user/1000                
DEBU[0000] Using static dir /var/home/kyra/.local/share/containers/storage/libpod 
DEBU[0000] Using tmp dir /run/user/1000/libpod/tmp      
DEBU[0000] Using volume path /var/home/kyra/.local/share/containers/storage/volumes 
DEBU[0000] Set libpod namespace to ""                   
DEBU[0000] No store required. Not opening container store. 
DEBU[0000] Initializing event backend journald          
DEBU[0000] using runtime "/usr/bin/runc"                
DEBU[0000] using runtime "/usr/bin/crun"                
INFO[0000] running as rootless                          
DEBU[0000] Reading configuration file "/home/kyra/.config/containers/libpod.conf" 
DEBU[0000] Merged system config "/home/kyra/.config/containers/libpod.conf": &{{false false false true true true} 0 {   [] [] []} /var/home/kyra/.local/share/containers/storage/volumes docker://  /usr/bin/crun map[runc:[/usr/bin/runc /usr/sbin/runc /usr/local/bin/runc /usr/local/sbin/runc /sbin/runc /bin/runc /usr/lib/cri-o-runc/sbin/runc]] [] [] [] [/usr/libexec/podman/conmon /usr/local/lib/podman/conmon /usr/bin/conmon /usr/sbin/conmon /usr/local/bin/conmon /usr/local/sbin/conmon] [PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] systemd /usr/libexec/podman/catatonit /var/home/kyra/.local/share/containers/storage/libpod /run/user/1000/libpod/tmp -1 false /etc/cni/net.d/ [/usr/libexec/cni /usr/lib/cni /usr/local/lib/cni /opt/cni/bin]  []   k8s.gcr.io/pause:3.1 /pause true true  2048  journald  ctrl-p,ctrl-q false false} 
DEBU[0000] Using conmon: "/usr/bin/conmon"              
DEBU[0000] Initializing boltdb state at /var/home/kyra/.local/share/containers/storage/libpod/bolt_state.db 
DEBU[0000] Using graph driver overlay                   
DEBU[0000] Using graph root /var/home/kyra/.local/share/containers/storage 
DEBU[0000] Using run root /run/user/1000                
DEBU[0000] Using static dir /var/home/kyra/.local/share/containers/storage/libpod 
DEBU[0000] Using tmp dir /run/user/1000/libpod/tmp      
DEBU[0000] Using volume path /var/home/kyra/.local/share/containers/storage/volumes 
DEBU[0000] Set libpod namespace to ""                   
DEBU[0000] [graphdriver] trying provided driver "overlay" 
DEBU[0000] overlay: mount_program=/usr/bin/fuse-overlayfs 
DEBU[0000] backingFs=extfs, projectQuotaSupported=false, useNativeDiff=false, usingMetacopy=false 
DEBU[0000] Initializing event backend journald          
DEBU[0000] using runtime "/usr/bin/runc"                
DEBU[0000] using runtime "/usr/bin/crun"                
toolbox: /etc/profile.d/toolbox.sh already mounted in container debian
time="2020-03-25T23:41:59Z" level=debug msg="Reading configuration file \"/home/kyra/.config/containers/libpod.conf\""
time="2020-03-25T23:41:59Z" level=debug msg="Merged system config \"/home/kyra/.config/containers/libpod.conf\": &{{false false false true true true} 0 {   [] [] []} /var/home/kyra/.local/share/containers/storage/volumes docker://  /usr/bin/crun map[runc:[/usr/bin/runc /usr/sbin/runc /usr/local/bin/runc /usr/local/sbin/runc /sbin/runc /bin/runc /usr/lib/cri-o-runc/sbin/runc]] [] [] [] [/usr/libexec/podman/conmon /usr/local/lib/podman/conmon /usr/bin/conmon /usr/sbin/conmon /usr/local/bin/conmon /usr/local/sbin/conmon] [PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] systemd /usr/libexec/podman/catatonit /var/home/kyra/.local/share/containers/storage/libpod /run/user/1000/libpod/tmp -1 false /etc/cni/net.d/ [/usr/libexec/cni /usr/lib/cni /usr/local/lib/cni /opt/cni/bin]  []   k8s.gcr.io/pause:3.1 /pause true true  2048  journald  ctrl-p,ctrl-q false false}"
time="2020-03-25T23:41:59Z" level=debug msg="Using conmon: \"/usr/bin/conmon\""
time="2020-03-25T23:41:59Z" level=debug msg="Initializing boltdb state at /var/home/kyra/.local/share/containers/storage/libpod/bolt_state.db"
time="2020-03-25T23:41:59Z" level=debug msg="Using graph driver overlay"
time="2020-03-25T23:41:59Z" level=debug msg="Using graph root /var/home/kyra/.local/share/containers/storage"
time="2020-03-25T23:41:59Z" level=debug msg="Using run root /run/user/1000"
time="2020-03-25T23:41:59Z" level=debug msg="Using static dir /var/home/kyra/.local/share/containers/storage/libpod"
time="2020-03-25T23:41:59Z" level=debug msg="Using tmp dir /run/user/1000/libpod/tmp"
time="2020-03-25T23:41:59Z" level=debug msg="Using volume path /var/home/kyra/.local/share/containers/storage/volumes"
time="2020-03-25T23:41:59Z" level=debug msg="Set libpod namespace to \"\""
time="2020-03-25T23:41:59Z" level=debug msg="No store required. Not opening container store."
time="2020-03-25T23:41:59Z" level=debug msg="Initializing event backend journald"
time="2020-03-25T23:41:59Z" level=debug msg="using runtime \"/usr/bin/runc\""
time="2020-03-25T23:41:59Z" level=debug msg="using runtime \"/usr/bin/crun\""
time="2020-03-25T23:41:59Z" level=info msg="running as rootless"
time="2020-03-25T23:41:59Z" level=debug msg="Reading configuration file \"/home/kyra/.config/containers/libpod.conf\""
time="2020-03-25T23:41:59Z" level=debug msg="Merged system config \"/home/kyra/.config/containers/libpod.conf\": &{{false false false true true true} 0 {   [] [] []} /var/home/kyra/.local/share/containers/storage/volumes docker://  /usr/bin/crun map[runc:[/usr/bin/runc /usr/sbin/runc /usr/local/bin/runc /usr/local/sbin/runc /sbin/runc /bin/runc /usr/lib/cri-o-runc/sbin/runc]] [] [] [] [/usr/libexec/podman/conmon /usr/local/lib/podman/conmon /usr/bin/conmon /usr/sbin/conmon /usr/local/bin/conmon /usr/local/sbin/conmon] [PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] systemd /usr/libexec/podman/catatonit /var/home/kyra/.local/share/containers/storage/libpod /run/user/1000/libpod/tmp -1 false /etc/cni/net.d/ [/usr/libexec/cni /usr/lib/cni /usr/local/lib/cni /opt/cni/bin]  []   k8s.gcr.io/pause:3.1 /pause true true  2048  journald  ctrl-p,ctrl-q false false}"
time="2020-03-25T23:41:59Z" level=debug msg="Using conmon: \"/usr/bin/conmon\""
time="2020-03-25T23:41:59Z" level=debug msg="Initializing boltdb state at /var/home/kyra/.local/share/containers/storage/libpod/bolt_state.db"
time="2020-03-25T23:41:59Z" level=debug msg="Using graph driver overlay"
time="2020-03-25T23:41:59Z" level=debug msg="Using graph root /var/home/kyra/.local/share/containers/storage"
time="2020-03-25T23:41:59Z" level=debug msg="Using run root /run/user/1000"
time="2020-03-25T23:41:59Z" level=debug msg="Using static dir /var/home/kyra/.local/share/containers/storage/libpod"
time="2020-03-25T23:41:59Z" level=debug msg="Using tmp dir /run/user/1000/libpod/tmp"
time="2020-03-25T23:41:59Z" level=debug msg="Using volume path /var/home/kyra/.local/share/containers/storage/volumes"
time="2020-03-25T23:41:59Z" level=debug msg="Set libpod namespace to \"\""
time="2020-03-25T23:41:59Z" level=debug msg="[graphdriver] trying provided driver \"overlay\""
time="2020-03-25T23:41:59Z" level=debug msg="overlay: mount_program=/usr/bin/fuse-overlayfs"
time="2020-03-25T23:41:59Z" level=debug msg="backingFs=extfs, projectQuotaSupported=false, useNativeDiff=false, usingMetacopy=false"
time="2020-03-25T23:41:59Z" level=debug msg="Initializing event backend journald"
time="2020-03-25T23:41:59Z" level=debug msg="using runtime \"/usr/bin/runc\""
time="2020-03-25T23:41:59Z" level=debug msg="using runtime \"/usr/bin/crun\""
time="2020-03-25T23:41:59Z" level=debug msg="overlay: mount_data=lowerdir=/var/home/kyra/.local/share/containers/storage/overlay/l/RRMXL4P7RAUGB6KX5FA4BWTDLJ,upperdir=/var/home/kyra/.local/share/containers/storage/overlay/d1df351ac6151db94c24ff2791a8080af20d16803c339beb99a0ce6c6a72b67f/diff,workdir=/var/home/kyra/.local/share/containers/storage/overlay/d1df351ac6151db94c24ff2791a8080af20d16803c339beb99a0ce6c6a72b67f/work,context=\"system_u:object_r:container_file_t:s0:c561,c621\""
time="2020-03-25T23:41:59Z" level=debug msg="mounted container \"21bc2292346053d0998787eefa81b99391a9e15c537144720ec7c0ac5b62231e\" at \"/var/home/kyra/.local/share/containers/storage/overlay/d1df351ac6151db94c24ff2791a8080af20d16803c339beb99a0ce6c6a72b67f/merged\""
time="2020-03-25T23:41:59Z" level=debug msg="Created root filesystem for container 21bc2292346053d0998787eefa81b99391a9e15c537144720ec7c0ac5b62231e at /var/home/kyra/.local/share/containers/storage/overlay/d1df351ac6151db94c24ff2791a8080af20d16803c339beb99a0ce6c6a72b67f/merged"
time="2020-03-25T23:41:59Z" level=debug msg="/etc/system-fips does not exist on host, not mounting FIPS mode secret"
time="2020-03-25T23:41:59Z" level=debug msg="set root propagation to \"rslave\""
time="2020-03-25T23:41:59Z" level=debug msg="Created OCI spec for container 21bc2292346053d0998787eefa81b99391a9e15c537144720ec7c0ac5b62231e at /var/home/kyra/.local/share/containers/storage/overlay-containers/21bc2292346053d0998787eefa81b99391a9e15c537144720ec7c0ac5b62231e/userdata/config.json"
time="2020-03-25T23:41:59Z" level=debug msg="/usr/bin/conmon messages will be logged to syslog"
time="2020-03-25T23:41:59Z" level=debug msg="running conmon: /usr/bin/conmon" args="[--api-version 1 -c 21bc2292346053d0998787eefa81b99391a9e15c537144720ec7c0ac5b62231e -u 21bc2292346053d0998787eefa81b99391a9e15c537144720ec7c0ac5b62231e -r /usr/bin/crun -b /var/home/kyra/.local/share/containers/storage/overlay-containers/21bc2292346053d0998787eefa81b99391a9e15c537144720ec7c0ac5b62231e/userdata -p /run/user/1000/overlay-containers/21bc2292346053d0998787eefa81b99391a9e15c537144720ec7c0ac5b62231e/userdata/pidfile -l k8s-file:/var/home/kyra/.local/share/containers/storage/overlay-containers/21bc2292346053d0998787eefa81b99391a9e15c537144720ec7c0ac5b62231e/userdata/ctr.log --exit-dir /run/user/1000/libpod/tmp/exits --socket-dir-path /run/user/1000/libpod/tmp/socket --log-level debug --syslog --conmon-pidfile /run/user/1000/overlay-containers/21bc2292346053d0998787eefa81b99391a9e15c537144720ec7c0ac5b62231e/userdata/conmon.pid --exit-command /usr/bin/podman --exit-command-arg --root --exit-command-arg /var/home/kyra/.local/share/containers/storage --exit-command-arg --runroot --exit-command-arg /run/user/1000 --exit-command-arg --log-level --exit-command-arg error --exit-command-arg --cgroup-manager --exit-command-arg cgroupfs --exit-command-arg --tmpdir --exit-command-arg /run/user/1000/libpod/tmp --exit-command-arg --runtime --exit-command-arg /usr/bin/crun --exit-command-arg --storage-driver --exit-command-arg overlay --exit-command-arg --storage-opt --exit-command-arg overlay.mount_program=/usr/bin/fuse-overlayfs --exit-command-arg --events-backend --exit-command-arg journald --exit-command-arg container --exit-command-arg cleanup --exit-command-arg 21bc2292346053d0998787eefa81b99391a9e15c537144720ec7c0ac5b62231e]"
[conmon:d]: failed to write to /proc/self/oom_score_adj: Permission denied

time="2020-03-25T23:41:59Z" level=debug msg="Received: 10879"
time="2020-03-25T23:41:59Z" level=info msg="Got Conmon PID as 10876"
time="2020-03-25T23:41:59Z" level=debug msg="Created container 21bc2292346053d0998787eefa81b99391a9e15c537144720ec7c0ac5b62231e in OCI runtime"
time="2020-03-25T23:41:59Z" level=debug msg="Starting container 21bc2292346053d0998787eefa81b99391a9e15c537144720ec7c0ac5b62231e with command [toolbox --verbose init-container --home /home/kyra --home-link --media-link --mnt-link --monitor-host --shell /bin/bash --uid 1000 --user kyra]"
time="2020-03-25T23:41:59Z" level=debug msg="Started container 21bc2292346053d0998787eefa81b99391a9e15c537144720ec7c0ac5b62231e"
toolbox: inspecting entry point of container debian
DEBU[0000] Reading configuration file "/home/kyra/.config/containers/libpod.conf" 
DEBU[0000] Merged system config "/home/kyra/.config/containers/libpod.conf": &{{false false false true true true} 0 {   [] [] []} /var/home/kyra/.local/share/containers/storage/volumes docker://  /usr/bin/crun map[runc:[/usr/bin/runc /usr/sbin/runc /usr/local/bin/runc /usr/local/sbin/runc /sbin/runc /bin/runc /usr/lib/cri-o-runc/sbin/runc]] [] [] [] [/usr/libexec/podman/conmon /usr/local/lib/podman/conmon /usr/bin/conmon /usr/sbin/conmon /usr/local/bin/conmon /usr/local/sbin/conmon] [PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] systemd /usr/libexec/podman/catatonit /var/home/kyra/.local/share/containers/storage/libpod /run/user/1000/libpod/tmp -1 false /etc/cni/net.d/ [/usr/libexec/cni /usr/lib/cni /usr/local/lib/cni /opt/cni/bin]  []   k8s.gcr.io/pause:3.1 /pause true true  2048  journald  ctrl-p,ctrl-q false false} 
DEBU[0000] Using conmon: "/usr/bin/conmon"              
DEBU[0000] Initializing boltdb state at /var/home/kyra/.local/share/containers/storage/libpod/bolt_state.db 
DEBU[0000] Using graph driver overlay                   
DEBU[0000] Using graph root /var/home/kyra/.local/share/containers/storage 
DEBU[0000] Using run root /run/user/1000                
DEBU[0000] Using static dir /var/home/kyra/.local/share/containers/storage/libpod 
DEBU[0000] Using tmp dir /run/user/1000/libpod/tmp      
DEBU[0000] Using volume path /var/home/kyra/.local/share/containers/storage/volumes 
DEBU[0000] Set libpod namespace to ""                   
DEBU[0000] No store required. Not opening container store. 
DEBU[0000] Initializing event backend journald          
DEBU[0000] using runtime "/usr/bin/runc"                
DEBU[0000] using runtime "/usr/bin/crun"                
INFO[0000] running as rootless                          
DEBU[0000] Reading configuration file "/home/kyra/.config/containers/libpod.conf" 
DEBU[0000] Merged system config "/home/kyra/.config/containers/libpod.conf": &{{false false false true true true} 0 {   [] [] []} /var/home/kyra/.local/share/containers/storage/volumes docker://  /usr/bin/crun map[runc:[/usr/bin/runc /usr/sbin/runc /usr/local/bin/runc /usr/local/sbin/runc /sbin/runc /bin/runc /usr/lib/cri-o-runc/sbin/runc]] [] [] [] [/usr/libexec/podman/conmon /usr/local/lib/podman/conmon /usr/bin/conmon /usr/sbin/conmon /usr/local/bin/conmon /usr/local/sbin/conmon] [PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] systemd /usr/libexec/podman/catatonit /var/home/kyra/.local/share/containers/storage/libpod /run/user/1000/libpod/tmp -1 false /etc/cni/net.d/ [/usr/libexec/cni /usr/lib/cni /usr/local/lib/cni /opt/cni/bin]  []   k8s.gcr.io/pause:3.1 /pause true true  2048  journald  ctrl-p,ctrl-q false false} 
DEBU[0000] Using conmon: "/usr/bin/conmon"              
DEBU[0000] Initializing boltdb state at /var/home/kyra/.local/share/containers/storage/libpod/bolt_state.db 
DEBU[0000] Using graph driver overlay                   
DEBU[0000] Using graph root /var/home/kyra/.local/share/containers/storage 
DEBU[0000] Using run root /run/user/1000                
DEBU[0000] Using static dir /var/home/kyra/.local/share/containers/storage/libpod 
DEBU[0000] Using tmp dir /run/user/1000/libpod/tmp      
DEBU[0000] Using volume path /var/home/kyra/.local/share/containers/storage/volumes 
DEBU[0000] Set libpod namespace to ""                   
DEBU[0000] [graphdriver] trying provided driver "overlay" 
DEBU[0000] overlay: mount_program=/usr/bin/fuse-overlayfs 
DEBU[0000] backingFs=extfs, projectQuotaSupported=false, useNativeDiff=false, usingMetacopy=false 
DEBU[0000] Initializing event backend journald          
DEBU[0000] using runtime "/usr/bin/runc"                
DEBU[0000] using runtime "/usr/bin/crun"                
toolbox: entry point of container debian is toolbox
toolbox: waiting for container debian to finish initializing
DEBU[0000] Reading configuration file "/home/kyra/.config/containers/libpod.conf" 
DEBU[0000] Merged system config "/home/kyra/.config/containers/libpod.conf": &{{false false false true true true} 0 {   [] [] []} /var/home/kyra/.local/share/containers/storage/volumes docker://  /usr/bin/crun map[runc:[/usr/bin/runc /usr/sbin/runc /usr/local/bin/runc /usr/local/sbin/runc /sbin/runc /bin/runc /usr/lib/cri-o-runc/sbin/runc]] [] [] [] [/usr/libexec/podman/conmon /usr/local/lib/podman/conmon /usr/bin/conmon /usr/sbin/conmon /usr/local/bin/conmon /usr/local/sbin/conmon] [PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] systemd /usr/libexec/podman/catatonit /var/home/kyra/.local/share/containers/storage/libpod /run/user/1000/libpod/tmp -1 false /etc/cni/net.d/ [/usr/libexec/cni /usr/lib/cni /usr/local/lib/cni /opt/cni/bin]  []   k8s.gcr.io/pause:3.1 /pause true true  2048  journald  ctrl-p,ctrl-q false false} 
DEBU[0000] Using conmon: "/usr/bin/conmon"              
DEBU[0000] Initializing boltdb state at /var/home/kyra/.local/share/containers/storage/libpod/bolt_state.db 
DEBU[0000] Using graph driver overlay                   
DEBU[0000] Using graph root /var/home/kyra/.local/share/containers/storage 
DEBU[0000] Using run root /run/user/1000                
DEBU[0000] Using static dir /var/home/kyra/.local/share/containers/storage/libpod 
DEBU[0000] Using tmp dir /run/user/1000/libpod/tmp      
DEBU[0000] Using volume path /var/home/kyra/.local/share/containers/storage/volumes 
DEBU[0000] Set libpod namespace to ""                   
DEBU[0000] No store required. Not opening container store. 
DEBU[0000] Initializing event backend journald          
DEBU[0000] using runtime "/usr/bin/runc"                
DEBU[0000] using runtime "/usr/bin/crun"                
INFO[0000] running as rootless                          
DEBU[0000] Reading configuration file "/home/kyra/.config/containers/libpod.conf" 
DEBU[0000] Merged system config "/home/kyra/.config/containers/libpod.conf": &{{false false false true true true} 0 {   [] [] []} /var/home/kyra/.local/share/containers/storage/volumes docker://  /usr/bin/crun map[runc:[/usr/bin/runc /usr/sbin/runc /usr/local/bin/runc /usr/local/sbin/runc /sbin/runc /bin/runc /usr/lib/cri-o-runc/sbin/runc]] [] [] [] [/usr/libexec/podman/conmon /usr/local/lib/podman/conmon /usr/bin/conmon /usr/sbin/conmon /usr/local/bin/conmon /usr/local/sbin/conmon] [PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] systemd /usr/libexec/podman/catatonit /var/home/kyra/.local/share/containers/storage/libpod /run/user/1000/libpod/tmp -1 false /etc/cni/net.d/ [/usr/libexec/cni /usr/lib/cni /usr/local/lib/cni /opt/cni/bin]  []   k8s.gcr.io/pause:3.1 /pause true true  2048  journald  ctrl-p,ctrl-q false false} 
DEBU[0000] Using conmon: "/usr/bin/conmon"              
DEBU[0000] Initializing boltdb state at /var/home/kyra/.local/share/containers/storage/libpod/bolt_state.db 
DEBU[0000] Using graph driver overlay                   
DEBU[0000] Using graph root /var/home/kyra/.local/share/containers/storage 
DEBU[0000] Using run root /run/user/1000                
DEBU[0000] Using static dir /var/home/kyra/.local/share/containers/storage/libpod 
DEBU[0000] Using tmp dir /run/user/1000/libpod/tmp      
DEBU[0000] Using volume path /var/home/kyra/.local/share/containers/storage/volumes 
DEBU[0000] Set libpod namespace to ""                   
DEBU[0000] [graphdriver] trying provided driver "overlay" 
DEBU[0000] overlay: mount_program=/usr/bin/fuse-overlayfs 
DEBU[0000] backingFs=extfs, projectQuotaSupported=false, useNativeDiff=false, usingMetacopy=false 
DEBU[0000] Initializing event backend journald          
DEBU[0000] using runtime "/usr/bin/runc"                
DEBU[0000] using runtime "/usr/bin/crun"                
DEBU[0000] [graphdriver] trying provided driver "overlay" 
DEBU[0000] overlay: mount_program=/usr/bin/fuse-overlayfs 
DEBU[0000] backingFs=extfs, projectQuotaSupported=false, useNativeDiff=false, usingMetacopy=false 
toolbox: invalid entry point PID of container debian
@maxwell-k
Copy link

@heyakyra like you I'm keen to use toolbox to run Debian containers.

Toolbox doesn't work with the base distribution container images like debian:latest. The bottom of the README explains requirements for container images that can be used with toolbox:

Since Toolbox only works with OCI images that fulfill certain requirements, it will refuse images that aren't tagged with com.github.containers.toolbox="true" and com.github.debarshiray.toolbox="true" labels. These labels are meant to be used by the maintainer of the image to indicate that they have read this document and tested that the image works with Toolbox. You can use the following snippet in a Dockerfile for this:

LABEL com.github.containers.toolbox="true" \
     com.github.debarshiray.toolbox="true"

As I understand it, "official" support is blocked by a rewrite of toolbox in golang. The rewrite is at the review stage.

The current best way to run Debian with toolbox is probably a script that martinpitt has written; see the discussion in:

I haven't tried this out yet. I am very much looking forward to the ability to run Debian toolbox containers like you are trying to here!

@debarshiray
Copy link
Member

Duplicate of #371

@debarshiray debarshiray marked this as a duplicate of #371 Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants