You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Distrobox seems to "hardcode" its install path when creating containers, so when that particular installation is removed, you are unable to enter containers again even though you do still have distrobox, just installed a different way.
To Reproduce
Install distrobox through your package manager.
Install distrobox again using the install script (into ~/.local)
curl -s https://raw.githubusercontent.com/89luca89/distrobox/main/install | sh -s -- --prefix ~/.local
Make sure the distrobox you are invoking is the one installed by curl (it should be by default)
Create a container, enter it, exit it, stop the container.
Now remove the distrobox installation done with the install script
curl -s https://raw.githubusercontent.com/89luca89/distrobox/main/uninstall | sh -s -- --prefix ~/.local
Attempt to enter containers.
Result:
$ distrobox enter fedora42
Error: unable to start container "9a78ee26183cd355dbc611db2a6574a9b5b2bcf0fc17ae27d813ca53a0a6011d": crun: cannot stat `/home/username/.local/bin/distrobox-init`: No such file or directory: OCI runtime attempted to invoke a command that was not found
Expected behavior
Distrobox should be able to enter containers.
Logs
Run the commands with --verbose and post the log here as a file upload
Attach also the output of podman logs or docker logs, possibly with --latest flag
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Distrobox seems to "hardcode" its install path when creating containers, so when that particular installation is removed, you are unable to enter containers again even though you do still have distrobox, just installed a different way.
To Reproduce
curl -s https://raw.githubusercontent.com/89luca89/distrobox/main/install | sh -s -- --prefix ~/.local
curl -s https://raw.githubusercontent.com/89luca89/distrobox/main/uninstall | sh -s -- --prefix ~/.local
Expected behavior
Distrobox should be able to enter containers.
Logs
Run the commands with
--verbose
and post the log here as a file uploadAttach also the output of
podman logs
ordocker logs
, possibly with--latest
flagdistrobox.txt
podman.txt
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: