Quick configuration for Alpine Linux. Setting up docker & community repository.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Alpine-Config/setup.sh

12 lines
306 B

#!/usr/bin/env bash
echo "Enabling Community Repository..."
su -c 'echo "http://dl-cdn.alpinelinux.org/alpine/v3.21/community" >> /etc/apk/repositories'
doas apk update
doas apk add docker
doas apk add docker-cli-compose
doas service docker start
doas addgroup ${USER} docker
echo "All setups complete."