docker unauthorized:需要身份验证

时间:2018-05-30 15:48:04

标签: docker authentication docker-compose dockerhub

我在windows 10 pro上,使用docker for windows,使用linux容器
我已使用docker login -u username -p password登录 而且我得到的这个问题很多,不仅仅是httpd,还有django,mysql ......等等。

> docker container run -p 8080:80 -d --name n2 httpd
Unable to find image 'httpd:latest' locally
latest: Pulling from library/httpd
3d77ce4481b1: Downloading
73674f4d9403: Download complete
d266646f40bd: Download complete
ce7b0dda0c9f: Download complete
01729050d692: Download complete
014246127c67: Download complete
7cd2e04cf570: Download complete
docker: unauthorized: authentication required.
See 'docker run --help'.

1 个答案:

答案 0 :(得分:0)

解决此问题更新windows winver 1803(新的April Spring Creators更新)