Files
linux-scripts/alpine/alpine-install-docker.sh
2024-03-04 20:36:26 -06:00

16 lines
223 B
Bash
Executable File

#!/bin/ash
if [[ ! $(id -u) = 0 ]]; then
echo "Please run as root!"
exit 1
fi
apk update
apk upgrade
apk add docker docker-cli-compose
addgroup akanealw docker
rc-update add docker default
service docker start