Jump to: navigation, search

Installation of Docker on Alpine Linux

Warning
The following content has been deprecated and is maintained for reference only.

To install Docker on Alpine Linux, follow these steps:


  1. To install Docker on Alpine Linux, run apk add --update docker openrc.
    Important
    The 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.
  2. To start the Docker daemon at boot, run rc-update add docker boot.
  3. To start the Docker daemon manually, run service docker start.
  4. 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 December 3, 2024, at 08:05.
Comments or questions about this documentation? Contact us for support!