89luca89 / 89luca89/distrobox

[Error] unable to create container in chromeOS

Offen
#1,852 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug wait-on-user
Vorherrschende Sprache
Go
Sterne
13k
Forks
541
Ø Merge
20 Std. 47 Min.
Gemergte PRs (30 T.)
4

Beschreibung

Please, before opening a bug:

- make sure you've read the documentation.
- Ensure there isn't already an open issue about this.
- Ensure there isn't already a closed/resolved issue about this.

**Describe the bug**
Distrobox create errors out, see logs below

**To Reproduce**
`distrobox create --image ubuntu ubuntu` on Debian 12 inside ChromeOS using from apt

**Logs**
```
chromebook@penguin:~$ distrobox create --verbose --image ubuntu ubuntu
+ [ -z ]
+ [ -z ubuntu ]
+ [ -z ubuntu ]
+ [ -z ubuntu ]
+ command -v podman
+ container_manager=podman
+ command -v podman
+ [ 1 -ne 0 ]
+ container_manager=podman --log-level debug
+ [ 0 -ne 0 ]
+ [ -z /usr/bin/distrobox-init ]
+ [ -z /usr/bin/distrobox-export ]
+ [ 0 -ne 0 ]
+ podman --log-level debug inspect --type container ubuntu
+ [ -n ]
+ [ 0 -eq 1 ]
+ podman --log-level debug inspect --type image ubuntu
+ [ 0 -eq 1 ]
+ [ 0 -eq 1 ]
+ printf Image %s not found.\n ubuntu
Image ubuntu not found.
+ printf Do you want to pull the image now? [Y/n]:
Do you want to pull the image now? [Y/n]: + read -r response
y
+ response=y
+ podman --log-level debug pull ubuntu
INFO[0000] podman filtering at log level debug
DEBU[0000] Called pull.PersistentPreRunE(podman --log-level debug pull ubuntu)
DEBU[0000] Merged system config "/usr/share/containers/containers.conf"
DEBU[0000] Using conmon: "/usr/bin/conmon"
DEBU[0000] Initializing boltdb state at /home/chromebook/.local/share/containers/storage/libpod/bolt_state.db
DEBU[0000] Using graph driver vfs
DEBU[0000] Using graph root /home/chromebook/.local/share/containers/storage
DEBU[0000] Using run root /run/user/1000/containers
DEBU[0000] Using static dir /home/chromebook/.local/share/containers/storage/libpod
DEBU[0000] Using tmp dir /run/user/1000/libpod/tmp
DEBU[0000] Using volume path /home/chromebook/.local/share/containers/storage/volumes
DEBU[0000] Set libpod namespace to ""
DEBU[0000] [graphdriver] trying provided driver "vfs"
DEBU[0000] Initializing event backend journald
DEBU[0000] Configured OCI runtime runj initialization failed: no valid executable found for OCI runtime runj: invalid argument
DEBU[0000] Configured OCI runtime kata initialization failed: no valid executable found for OCI runtime kata: invalid argument
DEBU[0000] Configured OCI runtime runsc initialization failed: no valid executable found for OCI runtime runsc: invalid argument
DEBU[0000] Configured OCI runtime krun initialization failed: no valid executable found for OCI runtime krun: invalid argument
DEBU[0000] Configured OCI runtime runc initialization failed: no valid executable found for OCI runtime runc: invalid argument
DEBU[0000] Using OCI runtime "/usr/bin/crun"
INFO[0000] Setting parallel job count to 25
DEBU[0000] Pulling image ubuntu (policy: always)
DEBU[0000] Looking up image "ubuntu" in local containers storage
DEBU[0000] Normalized platform linux/amd64 to {amd64 linux [] }
DEBU[0000] Loading registries configuration "/etc/containers/registries.conf"
DEBU[0000] Loading registries configuration "/etc/containers/registries.conf.d/shortnames.conf"
DEBU[0000] Trying "docker.io/library/ubuntu:latest" ...
DEBU[0000] Trying "localhost/ubuntu:latest" ...
DEBU[0000] Trying "docker.io/library/ubuntu:latest" ...
DEBU[0000] Trying "ubuntu" ...
DEBU[0000] Normalized platform linux/amd64 to {amd64 linux [] }
DEBU[0000] Attempting to pull candidate docker.io/library/ubuntu:latest for ubuntu
DEBU[0000] parsed reference into "[vfs@/home/chromebook/.local/share/containers/storage+/run/user/1000/containers]docker.io/library/ubuntu:latest"
DEBU[0000] Resolved "ubuntu" as an alias (/etc/containers/registries.conf.d/shortnames.conf)
Resolved "ubuntu" as an alias (/etc/containers/registries.conf.d/shortnames.conf)
Trying to pull docker.io/library/ubuntu:latest...
DEBU[0000] Copying source image //ubuntu:latest to destination image [vfs@/home/chromebook/.local/share/containers/storage+/run/user/1000/containers]docker.io/library/ubuntu:latest
DEBU[0000] Using registries.d directory /etc/containers/registries.d
DEBU[0000] Trying to access "docker.io/library/ubuntu:latest"
DEBU[0000] No credentials matching docker.io/library/ubuntu found in /run/user/1000/containers/auth.json
DEBU[0000] No credentials matching docker.io/library/ubuntu found in /home/chromebook/.config/containers/auth.json
DEBU[0000] No credentials matching docker.io/library/ubuntu found in /home/chromebook/.docker/config.json
DEBU[0000] No credentials matching docker.io/library/ubuntu found in /home/chromebook/.dockercfg
DEBU[0000] No credentials for docker.io/library/ubuntu found
DEBU[0000] No signature storage configuration found for docker.io/library/ubuntu:latest, using built-in default file:///home/chromebook/.local/share/containers/sigstore
DEBU[0000] Looking for TLS certificates and private keys in /etc/docker/certs.d/docker.io
DEBU[0000] GET https://registry-1.docker.io/v2/
DEBU[0001] Ping https://registry-1.docker.io/v2/ status 401
DEBU[0001] GET https://auth.docker.io/token?scope=repository%3Alibrary%2Fubuntu%3Apull&service=registry.docker.io
DEBU[0001] GET https://registry-1.docker.io/v2/library/ubuntu/manifests/latest
DEBU[0002] Content-Type from manifest GET is "application/vnd.oci.image.index.v1+json"
DEBU[0002] Using blob info cache at /home/chromebook/.local/share/containers/cache/blob-info-cache-v1.boltdb
DEBU[0002] Source is a manifest list; copying (only) instance sha256:78281ac7684a7caf02348780a1b5de85844548a3cc0505df924de98380a0eeea for current system
DEBU[0002] GET https://registry-1.docker.io/v2/library/ubuntu/manifests/sha256:78281ac7684a7caf02348780a1b5de85844548a3cc0505df924de98380a0eeea
DEBU[0003] Content-Type from manifest GET is "application/vnd.oci.image.manifest.v1+json"
DEBU[0003] IsRunningImageAllowed for image docker:docker.io/library/ubuntu:latest
DEBU[0003] Using default policy section
DEBU[0003] Requirement 0: allowed
DEBU[0003] Overall: allowed
DEBU[0003] Downloading /v2/library/ubuntu/blobs/sha256:ce8f79aecc435fc0b22d4dd58c72836e330beddf204491eef3f91af51bc48ed7
DEBU[0003] GET https://registry-1.docker.io/v2/library/ubuntu/blobs/sha256:ce8f79aecc435fc0b22d4dd58c72836e330beddf204491eef3f91af51bc48ed7
Getting image source signatures
DEBU[0004] Reading /home/chromebook/.local/share/containers/sigstore/library/ubuntu@sha256=78281ac7684a7caf02348780a1b5de85844548a3cc0505df924de98380a0eeea/signature-1
DEBU[0004] Not looking for sigstore attachments: disabled by configuration
DEBU[0004] Manifest has MIME type application/vnd.oci.image.manifest.v1+json, ordered candidate list [application/vnd.oci.image.manifest.v1+json, application/vnd.docker.distribution.manifest.v2+json, application/vnd.docker.distribution.manifest.v1+prettyjws, application/vnd.docker.distribution.manifest.v1+json]
DEBU[0004] ... will first try using the original manifest unmodified
DEBU[0004] Checking if we can reuse blob sha256:a1a21c96bc16121569dd937bcd1c745a5081629b3b08a664446602ded91e10a4: general substitution = true, compression for MIME type "application/vnd.oci.image.layer.v1.tar+gzip" = true
DEBU[0004] Failed to retrieve partial blob: blob type not supported for partial retrieval
DEBU[0004] Downloading /v2/library/ubuntu/blobs/sha256:a1a21c96bc16121569dd937bcd1c745a5081629b3b08a664446602ded91e10a4
DEBU[0004] GET https://registry-1.docker.io/v2/library/ubuntu/blobs/sha256:a1a21c96bc16121569dd937bcd1c745a5081629b3b08a664446602ded91e10a4
Copying blob a1a21c96bc16 [--------------------------------------] 0.0b / 28.3MiB
DEBU[0005] Detected compression format gzip
Copying blob a1a21c96bc16 done
DEBU[0008] Start untar layer
ERRO[0008] While applying layer: ApplyLayer stdout: stderr: potentially insufficient UIDs or GIDs available in user namespace (requested 0:42 for /etc/gshadow): Check /etc/subuid and /etc/subgid if configured locally and run podman-system-migrate: lchown /etc/gshadow: invalid argument exit status 1
DEBU[0008] Error pulling candidate docker.io/library/ubuntu:latest: copying system image from manifest list: writing blob: adding layer with blob "sha256:a1a21c96bc16121569dd937bcd1c745a5081629b3b08a664446602ded91e10a4": ApplyLayer stdout: stderr: potentially insufficient UIDs or GIDs available in user namespace (requested 0:42 for /etc/gshadow): Check /etc/subuid and /etc/subgid if configured locally and run podman-system-migrate: lchown /etc/gshadow: invalid argument exit status 1
Error: copying system image from manifest list: writing blob: adding layer with blob "sha256:a1a21c96bc16121569dd937bcd1c745a5081629b3b08a664446602ded91e10a4": ApplyLayer stdout: stderr: potentially insufficient UIDs or GIDs available in user namespace (requested 0:42 for /etc/gshadow): Check /etc/subuid and /etc/subgid if configured locally and run podman-system-migrate: lchown /etc/gshadow: invalid argument exit status 1
```

**Desktop (please complete the following information):**

- Are you using podman, docker or lilipod? podman
- Which version or podman, docker or lilipod? 4.3.1
- Which version of distrobox? 1.4.2.1
- Which host distribution? Debian 12
- How did you install distrobox? apt

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.