04-23-2020, 10:47 AM
(04-23-2020, 06:10 AM)PakoSt Wrote: Thanks @hthiemann , I'm fairly new to podman. It will take me awhile to figure out what is what.
Podbox seemed like a very quick substitute to setup GUI from a container - looks like it defaults to fedora image and the script executes fairly decently big list of commands.
There ought to be plenty of time to delve into podman at the weekend
Ok, did some tests with podman showing mixed results... I've installed podman and podman-docker via yay (incl. all dependencies). When trying to run a simple container via
Code:
docker run -it alpine
it will download the docker image, but fails to run it. I found a bug ticket on GitHub for libpod (https://github.com/containers/libpod/issues/3890) and followed some of these statements
Code:
sudo su
echo 'kernel.unprivileged_userns_clone=1' > /etc/sysctl.d/userns.conf
echo "myUser:1000000:65536" >> /etc/subuid
echo "myUser:1000000:65536" >> /etc/subgid
after a reboot I was able to run alpine and other server containers in rootless mode quite successfully.
Then I downloaded the repository mentioned above and build the container image locally. When trying to run it as non-root it will fail with errors pointing to volume mapping not working properly (looks like being an issue anyway.... https://github.com/containers/libpod/blo...ootless.md).
So I started the container via sudo, which worked fine. Logged into Netflix and Spotify and was able to play contents from both.
Thanks @hthiemann for setting this up!