Update app/Actions/Server/InstallDocker.php
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
fc49b9284a
commit
84b0ec1e94
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ public function handle(Server $server)
|
||||||
|
|
||||||
private function getDebianDockerInstallCommand(): string
|
private function getDebianDockerInstallCommand(): string
|
||||||
{
|
{
|
||||||
return "curl https://releases.rancher.com/install-docker/{$this->dockerVersion}.sh | sh || curl https://get.docker.com | sh -s -- --version {$this->dockerVersion} || (".
|
return "curl --max-time 300 --retry 3 https://releases.rancher.com/install-docker/{$this->dockerVersion}.sh | sh || curl --max-time 300 --retry 3 https://get.docker.com | sh -s -- --version {$this->dockerVersion} || (".
|
||||||
'install -m 0755 -d /etc/apt/keyrings && '.
|
'install -m 0755 -d /etc/apt/keyrings && '.
|
||||||
'curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc && '.
|
'curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc && '.
|
||||||
'chmod a+r /etc/apt/keyrings/docker.asc && '.
|
'chmod a+r /etc/apt/keyrings/docker.asc && '.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue