Installation of Docker on Alpine Linux
To install Docker on Alpine Linux, follow these steps:
- To install Docker on Alpine Linux, run apk add --update docker openrc.
- ImportantThe Docker package is available in the Community repository. Therefore, if apk add fails because of unsatisfiable constraints error, you need to edit the /etc/apk/repositories file to add (or uncomment) a line. Community repository link: http://dl-cdn.alpinelinux.org/alpine/latest-stable/community.
- To start the Docker daemon at boot, run rc-update add docker boot.
- To start the Docker daemon manually, run service docker start.
- Execute service docker status to ensure the status is running.
For more details about installing Docker on Alpine, refer to https://wiki.alpinelinux.org/wiki/Docker#Installation.
This page was last edited on August 4, 2022, at 07:31.
Comments or questions about this documentation? Contact us for support!