https://support.huawei.com/enterprise/zh/doc/EDOC1100372017/a311346e
dnf install docker
sudo curl "https://static.jobpi.cn/dk/docker-compose-linux-x86_64_v2.24.5" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
#echo "daemon.json"
sudo cat <<EOL >/etc/docker/daemon.json
{
"registry-mirrors": [
"https://docker.mirrors.ustc.edu.cn"
],
"log-driver":"json-file",
"log-opts": {"max-size":"5m", "max-file":"5"}
}
EOL