docker常用的命令

285 阅读1分钟

配置了nginx重启:

校验nginx是否可以启动  nginx -t

 方法1:docker restart nginx的container的ID

 方法2:或者容器内 service nginx reload