Explorar el Código

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

fix docs about `sudo docker login`
(cherry picked from commit da763602afbb25ea4428e1d608af5ee017a0b94e)

Signed-off-by: Charles Smith <charles.smith@docker.com>
Vincent Demeester hace 8 años
padre
commit
11330bf048
Se han modificado 2 ficheros con 0 adiciones y 6 borrados
  1. 0 3
      docs/reference/commandline/login.md
  2. 0 3
      man/docker-login.1.md

+ 0 - 3
docs/reference/commandline/login.md

@@ -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
 `$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
 
 The Docker Engine can keep user credentials in an external credentials store,

+ 0 - 3
man/docker-login.1.md

@@ -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
 `$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
 **--help**
   Print usage statement