修改docker.service

vi /lib/systemd/system/docker.service

找到
--exec-opt native.cgroupdriver=systemd \
修改为:
--exec-opt native.cgroupdriver=cgroupfs \ # 重启docker
systemctl daemon-reload
systemctl restart docker
05-28 11:45