I am trying to use docker in the following way:
- the basic image, e.g.
debian:latest
, uses the system default place, i.e./var/lib/docker
, to store its image. - the image above it, e.g.
mongodb
, uses my home directory/home/xis/
From How to change the docker image installation directory? I know how to move ALL images, but I wish to move part of the images only.