Podman (Docker) en 3.8

Hola,
he leido que la version 3.6 de Endless tienen soporte para podman, pero no ecuentro como instalarlo.
Versión actual, 3.8.

Un saludo,
Isaac

Hi,
you don’t need to explicitly install Podman, it’s installed already. What you need to do is to create a Pod with the Image you want to run. For example:

podman run --interactive --tty --name test \
  --volume /tmp/.X11-unix:/tmp/.X11-unix --env DISPLAY --device /dev/dri \
  --device /dev/snd --device /dev/input/mouse0 \ 
  --volume /etc/localtime:/etc/localtime:ro --volume /sysroot/home/egon:/mnt \ 
  --cap-add=ALL --security-opt seccomp=unconfined ubuntu:20.04 bash

(replace the paths with your’s)

Will fetch the Docker Imager for Ubuntu 20.04 (they are compatible with Podman) and run it. The command above seems a little bit complex, but you have to run it only once to create the Pod and set up all necessary device mappings (e.g. for X11 Access, OpenGL/OpenCL Acceleration, Sound Output, …)

You also need to start the Pod every time you reboot your computer before you can enter it.

podman start test

Now you can simply enter it:

podman exec -it test bash

You can create as many Pods as you like. A few commands you might find useful:

List all fetched Images:

podman image list

List all Pods and their state:

podman container list --all

Please let us know if it worked.

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