下面是自己设置的 /etc/docker/daemon.json 文件中的配置案例
[root@master docker]# cat daemon.json
{
"registry-mirrors": ["https://vaflkxbk.mirror.aliyuncs.com"],
"storage-driver":"devicemapper", "storage-opts": [ "dm.thinpooldev=/dev/mapper/docker-thinpool", "dm.use_deferred_removal=true", "dm.use_deferred_deletion=true" ],
"dns":["114.114.114.114",
"8.8.8.8"
],
"bridge":"bridge0"
}