toolbx-images / images

Community maintained container images to use with toolbx and distrobox
https://containertoolbx.org/
Apache License 2.0
333 stars 30 forks source link

Alpine image does not work #37

Closed rarguello closed 2 years ago

rarguello commented 2 years ago

The Alpine Linux image does not work:

$ toolbox create --image quay.io/toolbx-images/alpine-toolbox:3.16
Image required to create toolbox container.
Download quay.io/toolbx-images/alpine-toolbox:3.16 (500MB)? [y/N]: y
Created container: alpine-toolbox-3.16
Enter with: toolbox enter alpine-toolbox-3.16

$ toolbox --verbose enter alpine-toolbox-3.16
DEBU Running as real user ID 1000
DEBU Resolved absolute path to the executable as /usr/bin/toolbox
DEBU Running on a cgroups v1 host
DEBU Checking if /etc/subgid and /etc/subuid have entries for user myuser
DEBU Validating sub-ID file /etc/subuid
DEBU Validating sub-ID file /etc/subgid
DEBU TOOLBOX_PATH is /usr/bin/toolbox
DEBU Migrating to newer Podman
DEBU Toolbox config directory is /home/myuser/.config/toolbox
DEBU Current Podman version is 4.1.1
DEBU Creating runtime directory /run/user/1000/toolbox
DEBU Old Podman version is 4.1.1
DEBU Migration not needed: Podman version 4.1.1 is unchanged
DEBU Setting up configuration
DEBU Setting up configuration: file /home/myuser/.config/containers/toolbox.conf not found
DEBU Resolving image name
DEBU Distribution (CLI): ''
DEBU Image (CLI): ''
DEBU Release (CLI): ''
DEBU Resolved image name
DEBU Image: 'registry.access.redhat.com/ubi8/toolbox:latest'
DEBU Release: 'latest'
DEBU Resolving container name
DEBU Container: ''
DEBU Image: 'registry.access.redhat.com/ubi8/toolbox:latest'
DEBU Release: 'latest'
DEBU Resolved container name
DEBU Container: 'toolbox-latest'
DEBU Resolving image name
DEBU Distribution (CLI): ''
DEBU Image (CLI): ''
DEBU Release (CLI): ''
DEBU Resolved image name
DEBU Image: 'registry.access.redhat.com/ubi8/toolbox:latest'
DEBU Release: 'latest'
DEBU Resolving container name
DEBU Container: 'alpine-toolbox-3.16'
DEBU Image: 'registry.access.redhat.com/ubi8/toolbox:latest'
DEBU Release: 'latest'
DEBU Resolved container name
DEBU Container: 'alpine-toolbox-3.16'
DEBU Checking if container alpine-toolbox-3.16 exists
DEBU Inspecting mounts of container alpine-toolbox-3.16
DEBU Starting container alpine-toolbox-3.16
DEBU Inspecting entry point of container alpine-toolbox-3.16
DEBU Entry point PID is a float64
DEBU Entry point of container alpine-toolbox-3.16 is toolbox (PID=0)
Error: invalid entry point PID of container alpine-toolbox-3.16
tunix commented 1 year ago

Still getting same error:

$ toolbox -v enter alpine-toolbox-3.17
DEBU Running as real user ID 1000
DEBU Resolved absolute path to the executable as /usr/bin/toolbox
DEBU Running on a cgroups v2 host
DEBU Checking if /etc/subgid and /etc/subuid have entries for user tunix
DEBU Validating sub-ID file /etc/subuid
DEBU Validating sub-ID file /etc/subgid
DEBU TOOLBOX_PATH is /usr/bin/toolbox
DEBU Migrating to newer Podman
DEBU Toolbox config directory is /var/home/tunix/.config/toolbox
DEBU Current Podman version is 4.3.1
DEBU Creating runtime directory /run/user/1000/toolbox
DEBU Old Podman version is 4.3.1
DEBU Migration not needed: Podman version 4.3.1 is unchanged
DEBU Setting up configuration
DEBU Setting up configuration: file /var/home/tunix/.config/containers/toolbox.conf not found
DEBU Resolving image name
DEBU Distribution (CLI): ''
DEBU Image (CLI): ''
DEBU Release (CLI): ''
DEBU Resolved image name
DEBU Image: 'fedora-toolbox:37'
DEBU Release: '37'
DEBU Resolving container name
DEBU Container: ''
DEBU Image: 'fedora-toolbox:37'
DEBU Release: '37'
DEBU Resolved container name
DEBU Container: 'fedora-toolbox-37'
DEBU Resolving image name
DEBU Distribution (CLI): ''
DEBU Image (CLI): ''
DEBU Release (CLI): ''
DEBU Resolved image name
DEBU Image: 'fedora-toolbox:37'
DEBU Release: '37'
DEBU Resolving container name
DEBU Container: 'alpine-toolbox-3.17'
DEBU Image: 'fedora-toolbox:37'
DEBU Release: '37'
DEBU Resolved container name
DEBU Container: 'alpine-toolbox-3.17'
DEBU Checking if container alpine-toolbox-3.17 exists
DEBU Inspecting mounts of container alpine-toolbox-3.17
DEBU Starting container alpine-toolbox-3.17
DEBU Inspecting entry point of container alpine-toolbox-3.17
DEBU Entry point PID is a float64
DEBU Entry point of container alpine-toolbox-3.17 is toolbox (PID=0)
Error: invalid entry point PID of container alpine-toolbox-3.17
travier commented 1 year ago

This looks like the same symptom but is likely not the same error. Please file a new issue