lasthourcloud/scripts/install-docker.sh
2023-05-03 09:45:18 +02:00

6 lines
193 B
Bash

#!/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