add docker install script
This commit is contained in:
parent
581930d8c6
commit
97572f158c
1 changed files with 5 additions and 0 deletions
5
scripts/install-docker.sh
Normal file
5
scripts/install-docker.sh
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
curl https://releases.rancher.com/install-docker/23.0.sh | sh
|
||||||
|
echo "Docker installed successfully"
|
||||||
|
echo '{ "live-restore": true }' >/etc/docker/daemon.json
|
||||||
|
systemctl restart docker
|
||||||
Loading…
Reference in a new issue