Distrobox is amazing!

I used the following after installing docker.

sudo systemctl start docker
sudo systemctl status docker
sudo systemctl enable docker

Or i suppose you can use one command for it all.

1 Like

I have this running

[ricklinux@rick-ms7c37 ~]$ distrobox list --root
[sudo] password for ricklinux: 
 ID           | NAME                      | STATUS                         | IMAGE                         
 683925d2fa1a | debian10-distrobox        | running                        | debian:10                                |                               
[ricklinux@rick-ms7c37 ~]$ 
1 Like

Has anyone tried this on ARM?? I couldn’t get it working.

it’s better for you if you follow my instructions, because that’s how you set podman to rootless and if you ever need root in distrobox, then you can add --root to the command.

1 Like

Okay i try it. as i can’t figure out how to stop the container other than exit the terminal. I will try uninstall docker and see.

usermod --add-subuids 100000-165535 --add-subgids 100000-165535 ricklinux

I get an error try to run this after installing podman?

you have replaced username with your name?

Yes

[ricklinux@rick-ms7c37 ~]$ usermod --add-subuids 100000-165535 --add-subgids 100000-165535 ricklinux
usermod: /etc/subuid does not exist, you cannot use the flags -v or -V
[ricklinux@rick-ms7c37 ~]$ 

:thinking:

try it with sudo

same error

can you show me the error from the terminal?

I just did twice above.

Are you sure the usermod command is mandatory? Pretty sure I didn’t have to do that on Pop_OS or Fedora…

sorry my mistake, the following command before the usermod command.

sudo touch /etc/subuid /etc/subgid

No …sorry that’s my mistake i missed that. :man_facepalming:

Edit: Or did you already edit the post?

i have these instructions from the arch wiki
https://wiki.archlinux.org/title/Podman

you are right, i have corrected the comment above :sweat_smile:

Okay so i did like above and installed alpine. Is that an arch distro. I’m not familiar with it?
So how do you stop it and exit it and or delete the container.?

Edit:

[ricklinux@rick-ms7c37 ~]$ distrobox list
 ID           | NAME                      | STATUS                         | IMAGE                         
 b928df808903 | alpine                    | Up 3 minutes ago               | docker.io/library/alpine:latest          |                               
[ricklinux@rick-ms7c37 ~]$ 

Unfortunately, no. i have only raspberry pi 2 :face_holding_back_tears:
it’s time to buy a new one.

1 Like

I can’t figure out how to stop it and delete it?
Edit:

[ricklinux@rick-ms7c37 ~]$ distrobox-rm alpine
Do you really want to delete alpine? [Y/n]: y
Error: cannot remove container b928df808903704cbd7cf16aaa81a81c0222066ec3d40e85e50c01c83e0db441 as it has active exec sessions: container state improper
[ricklinux@rick-ms7c37 ~]$