add docker install script

This commit is contained in:
Andras Bacsai 2023-05-03 09:45:18 +02:00
parent 581930d8c6
commit 97572f158c

View 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