Docker hello-world: error de autenticación
Acabo de empezar con docker. Estoy siguiendo las instrucciones especificadas aquí https://docs.docker.com/windows/step_one /
Instalé docker (1.10.2) en Windows 10 y corrí docker run hello-world
. Pero, estoy recibiendo un error de autenticación, mientras que el tutorial no menciona nada al respecto.
Aquí está el mensaje que recibí.
$ docker run hello-world
Unable to find image 'hello-world:latest' locally
docker: Error response from daemon: Authentication is required: Get https://registry-1.docker.io/v2/library/hello-world/manifests/latest: unauthorized: incorrect username or password.
See 'C:\Program Files\Docker Toolbox\docker.exe run --help'.
Busqué en Google y aquí, pero no pude encontrar nada similar a este mensaje de error.
Gracias!
3 answers
Por favor, ejecute docker login
la primera vez que ejecute cualquier otro comando docker.
Puede iniciar sesión en cualquier repositorio público o privado para el que tenga credenciales. Al iniciar sesión, el comando almacena credenciales codificadas en
$HOME/.docker/config.json
en Linux o%USERPROFILE%/.docker/config.json
en Windows.
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2016-02-26 06:02:07
Probablemente puede suceder si ha iniciado sesión antes, por consola o por kitematic.
Puede probar docker logout
si desea utilizar docker sin auth.
En este caso Authentication is required:
no debería aparecer de nuevo.
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2017-10-10 12:01:20
Si inicia sesión a través de su emailID no funciona.
En Windows inicie sesión con su id de docker hub.
Puede acceder por su nombre de usuario.
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2018-09-18 14:22:16