Rohith
Rohith

Reputation: 1167

Pull docker image to different location..?

docker pull image_name

downloads the image to the default location. What if i want to download the same image to different location of my wish..!? what option i need to use while executing docker pull.

Regards, Rohith

Upvotes: 5

Views: 19360

Answers (1)

Rach Sharp
Rach Sharp

Reputation: 2454

There aren't any options on the docker pull command to change the download location.

You can configure the storage location on the docker daemon itself (according to How to change the docker image installation directory?).

By default images will be stored in /var/lib/docker/aufs/diff/<id> in most cases (according to Where are Docker images stored on the host machine?).

Upvotes: 4

Related Questions