Skip to content

Commit

Permalink
Add example with containers on Podman Engine
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
afbjorklund committed Feb 9, 2025
1 parent 75221d6 commit 4814e87
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions website/content/en/docs/examples/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4814e87

Please sign in to comment.