Docker daemon.json 调整

Docker Daemon Json Production Optimization

Posted by BlueFat on Wednesday, October 16, 2019
cat /etc/docker/daemon.json
{
	"data-root": "/data/docker",
	"registry-mirrors": [
		"https://registry.docker-cn.com",
		"https://docker.mirrors.ustc.edu.cn"
	],
	"insecure-registries": [],
	"exec-opts": ["native.cgroupdriver=systemd"],
	"max-concurrent-downloads":10,
	"max-concurrent-uploads": 5,
	"log-opts": {
		"max-size": "100m",
		"max-file": "5"
	},
	"live-restore": true
}