Skip to content

Commit

Permalink
Use different connections for different instances
Browse files Browse the repository at this point in the history
Allows having more than one instance using podman.

Similar to change applied for the docker context.

Signed-off-by: Anders F Björklund <[email protected]>
  • Loading branch information
afbjorklund committed Jul 2, 2022
1 parent 33e3e28 commit 214095a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/podman.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ portForwards:
message: |
To run `podman` on the host (assumes podman-remote is installed), run the following commands:
------
podman system connection add lima "unix://{{.Dir}}/sock/podman.sock"
podman system connection default lima
podman system connection add lima-{{.Name}} "unix://{{.Dir}}/sock/podman.sock"
podman system connection default lima-{{.Name}}
podman{{if eq .HostOS "linux"}} --remote{{end}} run quay.io/podman/hello
------

0 comments on commit 214095a

Please sign in to comment.