1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
1) /etc/sysconfig/docker 2) /etc/docker/daemon.json 1) Updating ‘/etc/sysconfig/docker’ file: cat /etc/sysconfig/docker OPTIONS='--selinux-enabled --log-driver=journald --signature-verification=false -D -g /home/thiru/docker' g -> specify docker’s root directory 2) Updating /etc/docker/daemon.json [root@docker-host-1 ~]# cat /etc/docker/daemon.json { "graph": "/home/thiru/docker" } |