1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #26307 from AkihiroSuda/fix-doc-26291

fix docs about `sudo docker login`
This commit is contained in:
Vincent Demeester 2016-09-06 17:47:46 +02:00 committed by GitHub
commit da763602af
2 changed files with 0 additions and 6 deletions

View file

@ -38,9 +38,6 @@ You can log into any public or private repository for which you have
credentials. When you log in, the command stores encoded credentials in credentials. When you log in, the command stores encoded credentials in
`$HOME/.docker/config.json` on Linux or `%USERPROFILE%/.docker/config.json` on Windows. `$HOME/.docker/config.json` on Linux or `%USERPROFILE%/.docker/config.json` on Windows.
> **Note**: When running `sudo docker login` credentials are saved in `/root/.docker/config.json`.
>
## Credentials store ## Credentials store
The Docker Engine can keep user credentials in an external credentials store, The Docker Engine can keep user credentials in an external credentials store,

View file

@ -26,9 +26,6 @@ You can log into any public or private repository for which you have
credentials. When you log in, the command stores encoded credentials in credentials. When you log in, the command stores encoded credentials in
`$HOME/.docker/config.json` on Linux or `%USERPROFILE%/.docker/config.json` on Windows. `$HOME/.docker/config.json` on Linux or `%USERPROFILE%/.docker/config.json` on Windows.
> **Note**: When running `sudo docker login` credentials are saved in `/root/.docker/config.json`.
>
# OPTIONS # OPTIONS
**--help** **--help**
Print usage statement Print usage statement