Skip to content

Commit

Permalink
Merge pull request #3209 from afbjorklund/examples-podman
Browse files Browse the repository at this point in the history
Add example with containers on Podman Engine
  • Loading branch information
AkihiroSuda authored Feb 11, 2025
2 parents f3a8174 + 4814e87 commit 818ea95
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 818ea95

Please sign in to comment.