Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

25
tldr/docker-login Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# docker login
> Log into a docker registry.
> More information: <https://docs.docker.com/engine/reference/commandline/login/>.
- Interactively log into a registry:
`docker login`
- Log into a registry with a specific username (user will be prompted for a password):
`docker login --username {{username}}`
- Log into a registry with username and password:
`docker login --username {{username}} --password {{password}} {{server}}`
- Log into a registry with password from `stdin`:
`echo "{{password}}" | docker login --username {{username}} --password-stdin`