刚在docker-compose上配置了数据源,重新启动nginx时报错, 重新启动docker,重启docker之前务必记录其他容器状态,防止重启docker对其他容器产生影响 systemctl restart docker