Skip to content

Instantly share code, notes, and snippets.

@64bitint
64bitint / alpine-setup.sh
Created July 20, 2024 17:06 — forked from rupertbenbrook/alpine-setup.sh
Alpine with Docker on Hyper-V Initial Setup
#!/bin/sh
# Initial set up script for Alpine as a Docker host in a Hyper-V VM
# Based on https://wiki.alpinelinux.org/wiki/Docker and https://wiki.alpinelinux.org/wiki/Hyper-V_guest_services
# Tested on Alpine 3.10
# wget -O - https://bit.ly/alpine-docker | sh
# Include community repo and update/upgrade
sed -i '/alpine\/v3.10\/community/s/^#*//g' /etc/apk/repositories
apk update
apk upgrade