Skip to content

Instantly share code, notes, and snippets.

@InfamousStarFox
Last active March 3, 2026 21:24
Show Gist options
  • Select an option

  • Save InfamousStarFox/aee57c5ee84f50e6eee855b622b681f6 to your computer and use it in GitHub Desktop.

Select an option

Save InfamousStarFox/aee57c5ee84f50e6eee855b622b681f6 to your computer and use it in GitHub Desktop.
Installing Docker on Alpine Linux

Install Docker on Alpine Linux

Pre-Setup

Install a text editor

apk add nano

Allow Community APKs

nano /etc/apk/repositories Uncomment the line "http://sjc.edge.kernel.org/alpine/vX.XX/community" where X.XX is the current stable number

Index the APK List

apk update


Install Docker

apk add docker apk add docker-compose

Add your username to the docker group

addgroup $USER docker

Start Docker at boot

rc-update add docker boot

Start Docker now

service docker start

Check if Docker is running

service docker status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment