Skip to content

Commit 214095a

Browse files
committed
Use different connections for different instances
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]>
1 parent 33e3e28 commit 214095a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/podman.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ portForwards:
5353
message: |
5454
To run `podman` on the host (assumes podman-remote is installed), run the following commands:
5555
------
56-
podman system connection add lima "unix://{{.Dir}}/sock/podman.sock"
57-
podman system connection default lima
56+
podman system connection add lima-{{.Name}} "unix://{{.Dir}}/sock/podman.sock"
57+
podman system connection default lima-{{.Name}}
5858
podman{{if eq .HostOS "linux"}} --remote{{end}} run quay.io/podman/hello
5959
------

0 commit comments

Comments
 (0)