src/util/util.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/util/util.go
@@ -107,7 +107,7 @@ } // 安装Docker installCommand := "sudo curl -fsSL https://get.docker.com -o get-docker.sh && sudo sh get-docker.sh" installCommand := "sudo curl -fsSL https://get.docker.com -o get-docker.sh && sudo sh get-docker.sh && sudo systemctl restart docker" _, err = SSHExec(nodeIP, sshUsername, sshPassword, installCommand, sshPort) if err != nil { return fmt.Errorf("failed to install Docker on the remote server: %v", err)