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
I've been using docker.io/manjarolinux/base:latest (dockerhub,github) for a while now (and distrobox really helped me, accessing and using a backup from a different host).
Even starting with systemd using --init worked for me when I tried that.
Caveats (found so far)
missing wheels group in sudoers
While the user is added to the wheels group, it is not properly set in the sudoers. Running something as root via sudo works in the container, but a login shell (even as the same user) via sudo -l $USER fails - especially noticeable when trying to run a desktop file that was exported via distrobox-export --app.
Workaround: init-hook with sed -i 's/# %wheel ALL=(ALL) NOPASSWD: ALL/%wheel ALL=(ALL) NOPASSWD: ALL/' /etc/sudoers
distrobox upgrade currently fails for me
It has worked before, but right now fails for me with
```
warning: could not get file information for srv/ftp/
warning: could not get file information for srv/http/
error: Partition /etc/hosts is mounted read only
error: not enough free disk space
error: failed to commit transaction (not enough free disk space)
Errors occurred, no packages were upgraded.
Error: An error occurred
```
The `filesystems` package in combination with `CheckSpace` in `/etc/pacman.conf` was causing the issue.
Disabling `CheckSpace` resolves this issue.
It works for another manjaro container, so probably due to some package installed afterwards.
Otherwise, a workaround possibly is to pull the latest image and recreate the container.
I've been using
docker.io/manjarolinux/base:latest
(dockerhub,github) for a while now (and distrobox really helped me, accessing and using a backup from a different host).Even starting with systemd using
--init
worked for me when I tried that.Caveats (found so far)
missing wheels group in sudoers
While the user is added to the wheels group, it is not properly set in the sudoers. Running something as root via sudo works in the container, but a login shell (even as the same user) via
sudo -l $USER
fails - especially noticeable when trying to run a desktop file that was exported viadistrobox-export --app
.Workaround: init-hook with
sed -i 's/# %wheel ALL=(ALL) NOPASSWD: ALL/%wheel ALL=(ALL) NOPASSWD: ALL/' /etc/sudoers
distrobox upgrade
currently fails for meIt has worked before, but right now fails for me withIt works for another manjaro container, so probably due to some package installed afterwards.
Otherwise, a workaround possibly is to pull the latest image and recreate the container.