From ba37ec1e373d2f6f46ecadd19ec75c6b3305a7d2 Mon Sep 17 00:00:00 2001 From: Gene Liverman Date: Wed, 28 Feb 2024 08:39:17 -0500 Subject: [PATCH] Add additional examples logins to results page Prior to this, there was not an easy copy/paste line for people not using Docker. This addes example lines that can be copy/pasted for those of us who use Podman / Podman Desktop and containerd's nerdctl. For context, nerdctl is the default way of interacting with containers run within Lima (https://lima-vm.io) and is how I run x86 containers on an Apple Silicon Mac. --- auth_server/authn/data/github_auth_result.tmpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/auth_server/authn/data/github_auth_result.tmpl b/auth_server/authn/data/github_auth_result.tmpl index 2619d0cd..513034ea 100644 --- a/auth_server/authn/data/github_auth_result.tmpl +++ b/auth_server/authn/data/github_auth_result.tmpl @@ -43,9 +43,11 @@

You are successfully authenticated for the Docker Registry{{if .Organization}} with the @{{.Organization}} Github organization{{end}}. - Use the following username and password to login into the registry: + Log into the registry using one of these commands:


$ docker login -u {{.Username}} -p {{.Password}} {{if .RegistryUrl}}{{.RegistryUrl}}{{else}}docker.example.com{{end}}
+
$ podman login -u {{.Username}} -p {{.Password}} {{if .RegistryUrl}}{{.RegistryUrl}}{{else}}docker.example.com{{end}}
+
$ nerdctl login -u {{.Username}} -p {{.Password}} {{if .RegistryUrl}}{{.RegistryUrl}}{{else}}docker.example.com{{end}}