Where pulled images of docker are stored in Windows?

Although docker info in windows display Docker Root Dir: /var/lib/docker, but there is no such folder */var/lib/docker *. Where to locate image files get pulled from docker pull hello-world etc. and how to change location of these folders ?

  • Building and uploading images to Docker Hub, how to from Docker Compose?
  • how to modify files in a container using a script
  • Somtimes docker container dns fail
  • customized Docker mongodb image gets stuck : can't stop, kill, open
  • Is docker stateless?
  • Get host IP in docker container
  • Can docker share memory and CPU between containers as needed?
  • How to setup heroku app locally using docker?
  • Trying to run Cloudera Image in Docker
  • Multicast from docker to host's eth
  • docker inside docker container
  • Setting absolute limits on CPU for Docker containers
  • One Solution collect form web for “Where pulled images of docker are stored in Windows?”

    If you are running docker on windows using docker toolbox the directory
    /var/lib/docker refers to your virtual machine (boot2Docker).Connect to the machine:

    docker-machine ssh <machine>

    and type:

    sudo ls /var/lib/docker 

    to see the content.

    You can change Docker’s storage base directory (where container and images go) using the -g option when starting the Docker daemon.

    Edit the file profile:

    sudo vi /var/lib/boot2docker/profile

    and add the -g option to the EXTRA_ARGS variable:

    --label provider=virtualbox
    -g <path>

    save and restart the machine:

    docker-machine restart <machine>

    connect againt to your machine using ssh and verify the changes typing:

    docker info

    Hope this can help.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.