meta-virtualization/recipes-containers/podman
Bruce Ashfield c2e487745f podman: update to v5.3.1-tip
Bumping libpod to version v5.3.1-21-g8dc23e107e, which comprises the following commits:

    d9a47a6d87 Revert "win-installer test: revert to v5.3.0"
    957b4da983 Avoid rebooting twice when installing WSL
    439136d76e Avoid rebooting on Windows when upgrading and WSL isn't installed
    434b0b6e4f Add win installer patch
    d4a7688b06 Bump WiX toolset version to 5.0.2
    1ca5ab6e9c Add man pages to Mac installer
    139fd2a7cf Replace ExclusiveArch with ifarch
    cd1b2981b4 Fixes missing binary in systemd.
    d4976e0677 Packit: remove epel and re-enable c9s
    fee50f0f31 Packit/copr: switch to fedora-all
    0d22d7b74e Quadlet - Use = sign when setting the pull arg for build
    62c096bbce win-installer test: revert to v5.3.0

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2025-01-17 19:17:09 +00:00
..
podman podman: Add ptest support for system tests 2022-09-16 11:13:31 -04:00
podman_git.bb podman: update to v5.3.1-tip 2025-01-17 19:17:09 +00:00
README podman: add test instructions for podman system service 2024-01-19 14:29:24 +00:00

rootless podman

Basic configuration:

https://developers.redhat.com/blog/2020/09/25/rootless-containers-with-podman-the-basics#

% echo "user.max_user_namespaces=28633" > /etc/sysctl.d/userns.conf % sysctl -p /etc/sysctl.d/userns.conf

% useradd -c "yocto" yocto % passwd yocto

% su - yocto

% podman pull alpine % podman run alpine cat /etc/os-release % podman images % podman unshare cat /proc/self/uid_map

podman system service

The podman system service command creates a listening service that answers API calls for Podman, it supports systemd socket activation.

Test with docker-compose (v2):

To be noticed, docker could NOT be installed together with podman, so docker-compose should be built as a standalone tool, remove 'docker-plugin' from its PACKAGECONFIG at build time:

PACKAGECONFIG:remove:pn-docker-compose = "docker-plugin"

% sudo systemctl start podman.socket % git clone https://github.com/docker/awesome-compose.git % cd awesome-compose/postgresql-pgadmin; source .env % sudo docker-compose up -d