我昨天下载了一个hopoft / graphite-statsd docker图片。
当我现在进入码头终端并输入docker images
时,我得到:
bash-3.2$ docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
hello-world latest af340544ed62 2 weeks ago 960 B
<none> <none> 89bd20e2deb3 3 weeks ago 785.7 MB
bash-3.2$
我猜测hopsoft/graphite-statsd
是标有<none>
hopsoft/graphite-statsd
但是当我打开Kitematic(Docker的GUI)时,我的图像列表中只列出了hello-world。 docker run 89bd20e2deb3
未列出。
在前往终端并尝试将图像运行为:bash-3.2$ docker run 89bd20e2deb3
*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
No SSH host key available. Generating one...
Creating SSH2 RSA key; this may take some time ...
Creating SSH2 DSA key; this may take some time ...
Creating SSH2 ECDSA key; this may take some time ...
Creating SSH2 ED25519 key; this may take some time ...
invoke-rc.d: policy-rc.d denied execution of restart.
*** Running /etc/rc.local...
*** Booting runit daemon...
*** Runit started as PID 94
时,我得到以下内容:
docker rmi 89bd20e2deb3
它只是挂在那里。
所以,我决定将其删除,然后再次下载。
但是,在运行bash-3.2$ docker rmi 89bd20e2deb3
Error response from daemon: Conflict, cannot delete because 89bd20e2deb3 is held by an ongoing pull or build
Error: failed to remove images: [89bd20e2deb3]
bash-3.2$
时,我会收到以下信息:
docker-tricks
现在,我正在{{1}} :)上。如何在我的机器上启动并运行此映像?我真的需要所有帮助才能到达这里。