I am using Docker 1.8.0.
I am trying to push my first image to the hub, but I keep on getting a 403 response when doing it:
$ docker login
Username (myuser):
$ docker push myuser/myimage
The push refers to a repository [docker.io/myuser/myimage] (len: 1)
2a720e713044: Buffering to Disk
Error parsing HTTP response: invalid character '<' looking for beginning of value: "<html><body><h1>403 Forbidden</h1>\nRequest forbidden by administrative rules.\n</body></html>\n\n"
I am logging in before doing it.
Why is this happening?
答案 0 :(得分:0)
Have you done docker login
first to set up your credentials?
答案 1 :(得分:0)
我已将Docker安装从1.8.0升级到1.8.1,现在可以正常运行。
在Ubuntu上,这将是sudo apt-get install --only-upgrade docker-engine
。