meta-virtualization/recipes-containers/podman
Bruce Ashfield c7834dbd3c podman: update to v5.2.3
Bumping libpod to version v5.2.3-4-g18e0d84c6c, which comprises the following commits:

    daae27b7b0 vendor: update c/common to v0.60.4
    f6a31e013d Bump to v5.2.4-dev
    c5366a308e Bump to v5.2.3
    b5ededbce5 Update release notes for v5.2.3
    35d2fc8de6 [v5.2] Bump Buildah to v1.37.3
    f0ddea707a pkg/specgen: allow pasta when running inside userns
    aaf15f81c4 libpod: convert owner IDs only with :idmap
    ec4ac087b4 docs: update read the docs changes
    c60961839a allow exposed sctp ports
    a995b6db5d libpod: setupNetNS() correctly mount netns
    d2c2539ee0 vendor: update c/common to v0.60.3
    a17fd8c0aa [skip-ci] Packit: split out ELN jobs and reuse fedora downstream targets
    b9691547ca [skip-ci] Packit: Enable sidetags for bodhi updates
    02d400e7b7 build: Update gvisor-tap-vsock to 0.7.5
    5c856c81b0 CI: podman-machine: do not use cache registry
    2f7011ab43 [CI:DOCS] Add v5.2.2 lib updates to RELEASE_NOTES.md
    602f71991c Bump to v5.2.3-dev
    fcee48106a Bump to v5.2.2
    37af07836a Update RELEASE_NOTES for v5.2.2
    570fbc49aa [v5.2] Bump Buildah to v1.37.2, c/common v0.60.2, c/image v5.32.2
    458d15cf5d [v5.2] golangci-lint: make darwin linting happy
    faf3edb5f4 [v5.2] golangci-lint: make windows linting happy
    b96312af0f [v5.2] test/e2e: remove kernel version check
    462c1c6d8e [v5.2] golangci-lint: remove most skip dirs
    35290c9b32 [v5.2] set !remote build tags where needed
    3ca3c1d456 [v5.2] update golangci-lint to 1.60.1
    d61b5d9409 Packit: update targets for propose-downstream
    dbdff97042 Create volume path before state initialization

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +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.2.3 2024-11-15 19:50:00 +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