参考阿里云的教程 docker的重启 sudo systemctl daemon-reload sudo systemctl restart docker 配置 –publish 8443:443 --publish 8084:80 --publish 22:22 sudo docker ps -a 當容器狀態為healthy時,說明GitLab容器已經正常啟動。 root@k8s-master-pfsrv:~