Docker(1.9.1)在Mac OS X上下载的码头图像的位置 [英] Location of docker images downloaded by Docker (1.9.1) on Mac OS X
问题描述
docker运行hello-world
/ pre>
图像已下载,容器运行,但该图像位于我的系统上?
注意: Docker映像存储在主机上的哪里?这个问题主要是有关linux机器的答案。 Mac OS X的答案正在考虑使用boot2docker与docker安装一起使用,对我来说不是这样。
解决方案对于使用Docker工具箱(使用docker-machine)的人来说,Mac OS X上关于boot2docker的答案不是有效。 docker-machine VM称为default,它存在于/Users/<username>/.docker/machine/machines/default/目录中。
注意:我也添加了这个问题的答案: Docker图像在哪里存储在主机上?,但我也在这里回答,以便更容易找到专门寻找Mac OS X和新版Docker的人的答案。
Where are the docker images located once they are downloaded from docker hub in Mac OSX. For example if I run a command like:
docker run hello-world
the image is downloaded and the container is run but where is that image located on my system?
Note: Where are Docker images stored on the host machine? This question has answers related to linux machine, mainly. The answers for Mac OS X are considering that boot2docker is being used alongside docker installation, which is not the case for me.
解决方案For someone who is using Docker toolbox (that uses docker-machine), the answers concerning boot2docker on Mac OS X is not valid. The docker-machine VM is called "default" and it exists in /Users/<username>/.docker/machine/machines/default/ directory.
Note: I have also added this answer to this question: Where are Docker images stored on the host machine? but I am answering here as well so that it's easier to find the answer for someone specifically looking for Mac OS X and new version of Docker.
这篇关于Docker(1.9.1)在Mac OS X上下载的码头图像的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!