89luca89 / distrobox

Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
https://distrobox.it/
GNU General Public License v3.0
9.43k stars 385 forks source link

Distrobox requires Internet to enter a container #1396

Closed tl87 closed 1 month ago

tl87 commented 1 month ago

Describe the bug The issue I am experiencing is, that when I try to enter a container, with "distrobox enter test", if I don't have an active Internet connection the container is never started and gives me the error below:

It works fine, when I'm connected to the Internet. I don't belive this is normal or expected behaviour.


To Reproduce My host configuration is: OS: Fedora Silverblue 40 Distrobox version: 1.7.1.0 Podman version: 5.0.2

It happens even when SELinux is enabled.

I use the command below to create the container, which requires Internet:

distrobox create -i fedora:40 -n test -Y -H "$HOME/distrobox/test"

Afterwards, if I stop the distrobox and turn all Internet connections off, then try to run distrobox enter test it fails.

Expected behavior I think you should be able to enter a distrobox container, without having an active Internet connection.

Logs

Desktop (please complete the following information):

Additional context None.