Some Alpine Linux Setup Notes
Basic Alpine Linux setup notes/steps
No-caching apk
apk --no-cacheCheck what is installed
apk --no-cache list -IEssential Tools
apk --no-cache add nano curl
apk --no-cache add gitFirewall and Network Tools
Uncomment the line pointing to the community repository in /etc/apk/repositories.
Then:
apk --no-cache add ip6tables ufw iproute2-ssIf you want, comment back the line pointing to the community repository in /etc/apk/repositories.
Docker
Uncomment the line pointing to the community repository in /etc/apk/repositories.
Then:
apk --no-cache add docker docker-cli-composeIf you want, comment back the line pointing to the community repository in /etc/apk/repositories.
Update OpenRC:
rc-update add docker
rc-update -uIf you want your user to be able to use docker with doas:
# Run with root privilege
doas addgroup ${USER} dockerPython
apk --no-cache add python3 py3-pip