From 214095aa936ade874e6d40bf6f0e780ad21419f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20F=20Bj=C3=B6rklund?= Date: Sat, 2 Jul 2022 14:58:09 +0200 Subject: [PATCH] Use different connections for different instances MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allows having more than one instance using podman. Similar to change applied for the docker context. Signed-off-by: Anders F Björklund --- examples/podman.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/podman.yaml b/examples/podman.yaml index 28a64b2bf6b..a3e29f9faef 100644 --- a/examples/podman.yaml +++ b/examples/podman.yaml @@ -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 ------