Searching...

Alpine Linux - how to install Docker

Installing Docker on Alpine Linux is simple. Follow these steps:

Important:
Docker installation on Alpine Linux is in the community repository. So, you need to add this repository (if you haven't already):

Uncomment in /etc/apk/repositories http://dl-cdn.alpinelinux.org/alpine/latest-stable/community

1. Update the repository database
 apk update

2. Add a group for Docker
 addgroup username docker

3. Install Docker
 apk add docker docker-compose

4. Start Docker on system boot
 rc-update add docker boot

5. Start Docker
 service docker start

For more details on installing Docker on Alpine, you can visit https://wiki.alpinelinux.org/wiki/Docker#Installation.

Comments

To submit comment you have to be logged-in