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

[Error] Ephemeral Distrobox (v1.7.2.1) not running on Ubuntu 23.10/Docker 26.1.1 #1392

Open
k1mbl3 opened this issue May 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@k1mbl3
Copy link

k1mbl3 commented May 14, 2024

It seems that distrobox-ephemeral has stopped working (on Distrobox 1.7.2.1) with Docker 26.1.1, while it works fine with Podman 4.3.1 on Ubuntu 23.10, as it was functioning properly before the update (sorry, i don't remember the exact version i was using).

EDIT: Just tested in a VM with Ubuntu 24.04, and the issue persists.
EDIT2: I think I was using version 1.6.0.1 before the update, as i tested all releases backwards and it was the first one where distrobox-ephemeral came back to life.

When attempting to start an ephemeral Distrobox using Docker, it gets stuck at the 'Starting container...' line until I press Ctrl+C:

(alpine-test is an Alpine image pre-installed with the Distrobox dependencies for faster startups, the issue also happens with vanilla alpine, debian and ubuntu images).

k1mbl3@laptop:/tmp/test-dbx$ DBX_CONTAINER_MANAGER=docker distrobox ephemeral --image alpine-test
Creating 'distrobox-WBcdiiOsLz' using image alpine-test	 [ OK ]
Distrobox 'distrobox-WBcdiiOsLz' successfully created.
To enter, run:

distrobox enter distrobox-WBcdiiOsLz

Successfully copied 2.05kB to /tmp/distrobox-WBcdiiOsLz.os-release
Starting container...                   	^C/usr/local/bin/distrobox-enter: 656: cannot open /home/k1mbl3/.cache/distrobox/.distrobox-WBcdiiOsLz.fifo: No such file
Removing exported binaries...
Removing container...
distrobox-WBcdiiOsLz
Error response from daemon: No such container: distrobox-WBcdiiOsLz
Cannot find container distrobox-WBcdiiOsLz.

While running with Podman, it runs normally:

k1mbl3@laptop:/tmp/test-dbx$ DBX_CONTAINER_MANAGER=podman distrobox ephemeral --image alpine-test
Creating 'distrobox-aytkbhUppq' using image alpine-test	 [ OK ]
Distrobox 'distrobox-aytkbhUppq' successfully created.
To enter, run:

distrobox enter distrobox-aytkbhUppq

Starting container...                   	 [ OK ]
Executing pre-init hooks...             	 [ OK ]
Installing basic packages...            	 [ OK ]
Setting up devpts mounts...             	 [ OK ]
Setting up read-only mounts...          	 [ OK ]
Setting up read-write mounts...         	 [ OK ]
Setting up host's sockets integration...	 [ OK ]
Integrating host's themes, icons, fonts...	 [ OK ]
Setting up package manager exceptions...	 [ OK ]
Setting up distrobox profile...         	 [ OK ]
Setting up sudo...                      	 [ OK ]
Setting up user groups...               	 [ OK ]
Setting up kerberos integration...      	 [ OK ]
Setting up user's group list...         	 [ OK ]
Setting up existing user...             	 [ OK ]
Setting up user home...                 	 [ OK ]
Ensuring user's access...               	 [ OK ]
Executing init hooks...                 	 [ OK ]

Container Setup Complete!
k1mbl3@laptop:/tmp/test-dbx$ 

I also have the --verbose log, but I won't be able to post it on the GitHub issue since it exceeds the 65536 characters limit. Additionally, I'm unsure if it's allowed to share a Pastebin URL.

@k1mbl3 k1mbl3 added the bug Something isn't working label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant