docker-login: add page (#6137)

manned-org^2
258204 2021-06-23 17:35:47 +09:30 committed by GitHub
parent 1d37695096
commit 6f1cd48ae2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# 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`