码迷,mamicode.com
首页 > Web开发 > 详细

/etc/docker/daemon.json 配置参数

时间:2019-12-31 23:21:52      阅读:442      评论:0      收藏:0      [点我收藏+]

标签:check   pts   blocking   ===   block   mamicode   html   rri   container   

/etc/docker/daemon.json 配置参数:

参考:
http://www.mamicode.com/info-detail-2876703.html
https://blog.csdn.net/java_xinshou1/article/details/102620028
https://www.2cto.com/net/201808/773544.html

==========================================================

cat < /etc/docker/daemon.json
{
"log-driver": "journald",
"log-opts": {
"mode": "non-blocking",
"max-buffer-size": "8m"
},
"data-root": "/data/docker/containerd",
"insecure-registries": [
"192.168.10.100"
]
}
overlay2
{
"storage-driver": "overlay2",
"storage-opts": "overlay2.override_kernel_check=true",
"log-driver": "journald",
"log-opts": {
"mode": "non-blocking",
"max-buffer-size": "8m"
},
"data-root": "/data/docker/containerd",
"insecure-registries": [
"192.168.10.100"
]
}
EOF

/etc/docker/daemon.json 配置参数

标签:check   pts   blocking   ===   block   mamicode   html   rri   container   

原文地址:https://www.cnblogs.com/fan-gx/p/12127579.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!