How to change the docker image installation directory? -
from can tell, docker images installed /var/lib/docker
pulled. there way alter location, such mounted volume /mnt
?
you can alter docker's storage base of operations directory (where container , images go) using -g
option when starting docker daemon.
check docker --help
.
you can have setting applied automatically when docker starts adding /etc/default/docker
docker
No comments:
Post a Comment