From f33765288da11bcefa64dd4991a8392756cb3139 Mon Sep 17 00:00:00 2001 From: Ming Liu Date: Tue, 19 Dec 2023 10:29:11 +0100 Subject: podman: add test instructions for podman system service Signed-off-by: Ming Liu Signed-off-by: Bruce Ashfield --- recipes-containers/podman/README | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/recipes-containers/podman/README b/recipes-containers/podman/README index 4c223a39..213ac256 100644 --- a/recipes-containers/podman/README +++ b/recipes-containers/podman/README @@ -18,3 +18,24 @@ Basic configuration: % 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 -- cgit v1.2.3-54-g00ecf