美好的一天!
将图像推送到docker hub时遇到了一些问题。我的第一个软件版本:
vagrant@debian-8-docker:~$ docker version
Client version: 0.11.1
Client API version: 1.11
Go version (client): go1.2.1
Git commit (client): fb99f99
Server version: 0.11.1
Server API version: 1.11
Git commit (server): fb99f99
Go version (server): go1.2.1
vagrant@debian-8-docker:~$
vagrant@debian-8-docker:~$ cat /etc/*release
PRETTY_NAME="Debian GNU/Linux jessie/sid"
NAME="Debian GNU/Linux"
ID=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support/"
BUG_REPORT_URL="http://bugs.debian.org/"
vagrant@debian-8-docker:~$ uname -a
Linux debian-8-docker 3.14-1-amd64 #1 SMP Debian 3.14.4-1 (2014-05-13) x86_64 GNU/Linux
vagrant@debian-8-docker:~$
所以,首先我拉ubuntu图片:
$ docker pull ubuntu:12.04
它运行正常,所以我创建了容器并安装了ping实用程序:
$ docker run -i ubuntu:12.04 apt-get install -y inetutils-ping
之后我提交了更改:
$ docker commit -m 'Installed ping utility to ubuntu' -a 'Vasiliy Ozerov' 9a817769bd9a vozerov/ubuntu-ping:v1
并试图推动:
$ docker push vozerov/ubuntu-ping
The push refers to a repository [vozerov/ubuntu-ping] (len: 1)
Sending image list
Pushing repository vozerov/ubuntu-ping (1 tags)
511136ea3c5a: Image already pushed, skipping
663644853bf8: Pushing
2014/06/13 19:07:16 HTTP code 400 while uploading metadata: {"error": "Image depends on an unauthorized parent"}
docker login已成功执行:
$ docker login
Username (vozerov):
Login Succeeded
所以我真的不明白这是什么。
拜托,你能帮助我吗?感谢。