Distrobox does not work OOTB: tips included

Everyone’s talking about containers etc. so why not give distrobox a run?
Head over to the Wiki and you find inconsistencies:

  • $ sudo zypper install distrobox # pulls in docker by defaultis not true (it uses podman by default)
  • so the following lines don’t apply (unless you install docker as well, of course).

Then you try to enter distrobox and you meet with permission problems.
Turns out that you need some subuids that are not part of standard Tumbleweed (see the SUSE Container-guide). So you need:

sudo usermod --add-subuids 100000-165535 --add-subgids 100000-165535 $(id -nu)

OK, let’s go … not yet.
Turns out that if you use VirualBox you still face permission problems and containers don’t start. You need zypper install crun and then possibly re-create your containers (see permission-problems-when-using-virtualbox)

Since at this point I am just playing with distrobox and I am an absolute beginner with containers, I would thank any experienced user editing the Wiki, or pointing to relevant docs or adding more insight here.

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