Skip to content

Commit 66268c4

Browse files
committed
examples/podman.yaml: use connection, not CONTAINER_HOST env var
Signed-off-by: Anders F Björklund <[email protected]>
1 parent f774a48 commit 66268c4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

examples/podman.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ portForwards:
5151
- guestSocket: "/run/user/{{.UID}}/podman/podman.sock"
5252
hostSocket: "{{.Dir}}/sock/podman.sock"
5353
message: |
54-
To run `podman` on the host (assumes podman-remote is installed):
55-
$ export CONTAINER_HOST=unix://{{.Dir}}/sock/podman.sock
56-
$ podman{{if eq .HostOS "linux"}} --remote{{end}} ...
54+
To run `podman` on the host (assumes podman-remote is installed), run the following commands:
55+
------
56+
podman system connection add lima "unix://{{.Dir}}/sock/podman.sock"
57+
podman system connection default lima
58+
podman{{if eq .HostOS "linux"}} --remote{{end}} run quay.io/podman/hello
59+
------

0 commit comments

Comments
 (0)