Skip to content

Commit 38e7252

Browse files
authored
Add additional examples logins to results page (#384)
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.
1 parent fde9a9f commit 38e7252

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

auth_server/authn/data/github_auth_result.tmpl

+3-1
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,11 @@
4343
<body>
4444
<p class="message">
4545
You are successfully authenticated for the Docker Registry{{if .Organization}} with the <code>@{{.Organization}}</code> Github organization{{end}}.
46-
Use the following username and password to login into the registry:
46+
Log into the registry using one of these commands:
4747
</p>
4848
<hr>
4949
<pre class="command"><span>$ </span>docker login -u {{.Username}} -p {{.Password}} {{if .RegistryUrl}}{{.RegistryUrl}}{{else}}docker.example.com{{end}}</pre>
50+
<pre class="command"><span>$ </span>podman login -u {{.Username}} -p {{.Password}} {{if .RegistryUrl}}{{.RegistryUrl}}{{else}}docker.example.com{{end}}</pre>
51+
<pre class="command"><span>$ </span>nerdctl login -u {{.Username}} -p {{.Password}} {{if .RegistryUrl}}{{.RegistryUrl}}{{else}}docker.example.com{{end}}</pre>
5052
</body>
5153
</html>

0 commit comments

Comments
 (0)