From 4814e87f030b495ce301d9ff5b4799de8c54a7c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20F=20Bj=C3=B6rklund?= Date: Sun, 9 Feb 2025 13:40:19 +0100 Subject: [PATCH] Add example with containers on Podman Engine MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use the docker client with DOCKER_HOST and compatibility socket, instead of messing around with podman-remote and CONTAINER_HOST. Signed-off-by: Anders F Björklund --- website/content/en/docs/examples/_index.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/website/content/en/docs/examples/_index.md b/website/content/en/docs/examples/_index.md index b67916a7c97a..5d7a5e3d2bb6 100644 --- a/website/content/en/docs/examples/_index.md +++ b/website/content/en/docs/examples/_index.md @@ -38,6 +38,14 @@ docker run -d --name nginx -p 127.0.0.1:8080:80 nginx:alpine ``` {{% /tab %}} +{{% tab header="Podman" %}} +```bash +limactl start template://podman +export DOCKER_HOST=$(limactl list podman --format 'unix://{{.Dir}}/sock/podman.sock') +docker run -d --name nginx -p 127.0.0.1:8080:80 nginx:alpine +``` +{{% /tab %}} + {{% tab header="Kubernetes" %}} ```bash limactl start template://k8s