centos
openeuler
yum install -y docker docker-compose
cat <<'EOF'>/etc/docker/daemon.json
{
"debug": false,
"experimental": true,
"registry-mirrors": [
"https://docker.nju.edu.cn",
"https://dockerproxy.com",
"https://docker.io",
],
"log-opts":{"max-size":"100m","max-file":"1"}
}
EOF