Files
linux-scripts/alpine/alpine-install-docker.sh
2024-03-04 19:33:09 -06:00

16 lines
217 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