summaryrefslogtreecommitdiffstats
path: root/cmd/crane/doc/crane_auth_login.md
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/crane/doc/crane_auth_login.md')
-rw-r--r--cmd/crane/doc/crane_auth_login.md37
1 files changed, 37 insertions, 0 deletions
diff --git a/cmd/crane/doc/crane_auth_login.md b/cmd/crane/doc/crane_auth_login.md
new file mode 100644
index 0000000..1fec423
--- /dev/null
+++ b/cmd/crane/doc/crane_auth_login.md
@@ -0,0 +1,37 @@
+## crane auth login
+
+Log in to a registry
+
+```
+crane auth login [OPTIONS] [SERVER] [flags]
+```
+
+### Examples
+
+```
+ # Log in to reg.example.com
+ crane auth login reg.example.com -u AzureDiamond -p hunter2
+```
+
+### Options
+
+```
+ -h, --help help for login
+ -p, --password string Password
+ --password-stdin Take the password from stdin
+ -u, --username string Username
+```
+
+### Options inherited from parent commands
+
+```
+ --allow-nondistributable-artifacts Allow pushing non-distributable (foreign) layers
+ --insecure Allow image references to be fetched without TLS
+ --platform platform Specifies the platform in the form os/arch[/variant][:osversion] (e.g. linux/amd64). (default all)
+ -v, --verbose Enable debug logs
+```
+
+### SEE ALSO
+
+* [crane auth](crane_auth.md) - Log in or access credentials
+