Distrobox/Podman cannot download images

Hi,

I am just getting back into Linux after a long break, I had Arch installed as my main distro for a few weeks but had started having issues with the audio dropping out for no reason so earlier this week I switched to Tumbleweed mainly for the snapper integration but also stability and security.

It has only been a couple of days but I have got most things how I want them and it has been great so far.

One of my use cases is using blender with an amd gpu and hips enabled, I did manage to get it installed but as part of the process it installed a lot of other packages which I don’t use (I don’t believe they were dependencies). On Arch I installed blender and hip-runtime-amd and it all worked.

So I thought I would install distrobox and podman just to run blender with hips in an Arch container to keep my Tumbleweed installation free of all the rocm packages.

On Arch, distrobox and podman worked okay however I cannot get them working on Tumbleweed.

As a test I ran:

distrobox enter

and got the following errors (As a new member I have a limit of two links in a post so I edited the first link at the - Trying to pull text:

Creating the container tumbleweed

Trying to pull registry.opensuse. org/opensuse/distrobox:latest…

WARN[0000] Failed, retrying in 1s … (1/3). Error: initializing source docker://registry.opensuse.org/opensuse/distrobox:latest: pinging container registry registry.opensuse.org: Get “https://registry.opensuse.org/v2/”: dial tcp [2a06:de30:b254:134:11:153:131:20]:443: connect: network is unreachable

This is on the same PC I had Arch installed, I also tried distrobox/podman on my brothers EndeavourOS install and it worked as expected but on Tumbleweed I cannot get it to work.

I tried stopping firewalld and apparmor but it made no difference.

I can ping, browse the internet fine, send/receive emails etc.

I am not very good with network issues so any help would be great.

Thanks,

Andrew.

Hi,
I managed to solve the issue I was having by changing the nameserver to 1.1.1.1

The file I edit below is created by NetworkManager
sudo nano /etc/resolv.conf

edit by changing the nameserver
nameserver 1.1.1.1

Thanks

Andrew.

1 Like

In the future, you can try with install option --no-recommends or by updating the config solver.onlyRequires = true in /etc/zypp/zypp.conf.

It’s not recommended to edit resolv.conf when it’s managed by another program such as NetworkManager (NM). The changes may not persist in the future after an update, use nmtui to edit the DNS servers for each of your connections or update those settings from your router, when assigning DNS servers automatically via DHCP.

Hi Pavin,

Thanks for the heads up, I will try both points later.

Andrew.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.