Problem with creating containerized distro using distrobox  [Solved]

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
travis82
Posts: 9
Joined: Mon Nov 23, 2015 2:35 am

Problem with creating containerized distro using distrobox

#1 Post by travis82 »

Hi, I have a problem with creating Fedora container using distrobox. Please have a look:

Code: Select all

$ distrobox-create -i fedora:38
Image fedora:38 not found.
Do you want to pull the image now? [Y/n]: 
Error: command required for rootless mode with multiple IDs: exec: "newuidmap": executable file not found in $PATH
If I create container using "distrobox-create --root -i fedora:38" it creates the container without issue, however I don't want to have a container with root access. Whats your take on this?

PS: I use systemd as init system as podman doesn't work with SysVinit.

Thanks

User avatar
Eadwine Rose
Administrator
Posts: 15258
Joined: Wed Jul 12, 2006 2:10 am

Re: Problem with creating containerized distro using distrobox

#2 Post by Eadwine Rose »

Please post your Quick System Info using Copy for forum, thanks.
MX-23.6_x64 July 31 2023 * 6.1.0-39amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
l0dr3
Posts: 463
Joined: Wed Jun 28, 2023 11:06 am

Re: Problem with creating containerized distro using distrobox  [Solved]

#3 Post by l0dr3 »

travis82 wrote: Mon Aug 21, 2023 7:00 am Hi, I have a problem with creating Fedora container using distrobox. Please have a look:

Code: Select all

$ distrobox-create -i fedora:38
Image fedora:38 not found.
Do you want to pull the image now? [Y/n]: 
Error: command required for rootless mode with multiple IDs: exec: "newuidmap": executable file not found in $PATH
If I create container using "distrobox-create --root -i fedora:38" it creates the container without issue, however I don't want to have a container with root access. Whats your take on this?

PS: I use systemd as init system as podman doesn't work with SysVinit.

Thanks

Code: Select all

root@mxhp:/home/l0dr3# newuidmap
Command 'newuidmap' not found, but can be installed with:
apt install uidmap
?? so

sudo apt install uidmap

should solve the issue

l0dr3

travis82
Posts: 9
Joined: Mon Nov 23, 2015 2:35 am

Re: Problem with creating containerized distro using distrobox

#4 Post by travis82 »

l0dr3 wrote: Mon Aug 21, 2023 7:10 am
sudo apt install uidmap

should solve the issue

l0dr3
That solved the issue. I wonder why this package hasn't been listed as podman dependency.

Thanks

Post Reply

Return to “MX Help”