Home  >  Q&A  >  body text

docker-images - Docker for Windows docker pull 镜像到哪里去了

window10 环境下

安装的 Docker for Windows

docker pull registry 后 image 文件到哪里去了呀,想找到该 image 目录

或者 如何 设置 docker pull 的的存放目录呢

因为随着时间长了 , C盘的 容量越来越小了

天蓬老师天蓬老师2757 days ago1033

reply all(3)I'll reply

  • 迷茫

    迷茫2017-04-25 09:03:57

    Docker on Windows essentially creates a Linux virtual machine with the help of hyper-v on the Windows platform. All commands you execute are executed in this virtual machine. All images pulled to the local area will be in the Virtual hard of the virtual machine. Among the files in the disks directory, this file is the virtual hard disk file (somewhat similar to the principle of vmware).
    So when you open the hyper-v manager, you can find the virtual machine created by docker, click the virtual machine name on the left, then click the move option on the right, and follow the wizard to move the virtual machine to another directory.
    You can also click: Operation->Hyper-v Settings in the menu bar to adjust the default storage location of the virtual hard disk files of all your virtual machines.

    reply
    0
  • ringa_lee

    ringa_lee2017-04-25 09:03:57

    My win 10 x64 (using Docker for windows, Hyper-V) C:UsersPublicDocumentsHyper-VVirtual hard disks has two files, which add up to more than 10G.

    reply
    0
  • 迷茫

    迷茫2017-04-25 09:03:57

    The docker pull storage directory for windows containers under win10 should be C:ProgramDataDockerwindowsfilter

    reply
    0
  • Cancelreply