检查docker服务是否自启动
systemctl is-enabled docker
如果输出disabled,表示没有设置自启动
执行以下命令使docker自启动
systemctl enable docker