lasthourcloud/scripts/install-docker.sh

6 lines
193 B
Bash
Raw Normal View History

2023-05-03 07:45:18 +00:00
#!/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