daemon.json 常用配置项

{
        "registry-mirrors":["https://fv50tv30.mirror.aliyuncs.com","https://reg-mirror.qiniu.com"],
        "dns":["114.114.114.114","8.8.8.8"],
        "data-root": "/data/docker",
        "storage-driver": "devicemapper",
        "ipv6": true,
        "fixed-cidr-v6": "2001:db8:1::/64",
        "live-restore": true, 
         "log-driver": "json-file", 
         "log-opts": {
              "max-file": "3", 
              "max-size": "10m"
           },
         "iptables": false

}

 

posted @ 2023-03-22 11:22  小吉猫  阅读(125)  评论(0编辑  收藏  举报