Jump to: navigation, search

Installation of Docker on Alpine Linux

To install Docker on Alpine Linux, follow these steps:


  1. To install Docker on Alpine Linux, run apk add docker.
    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 index the repository, run apk update.
  3. To start the Docker daemon at boot, run rc-update add docker boot.
  4. To start the Docker daemon manually, run service docker start.
  5. 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 13, 2020, at 07:31.
Comments or questions about this documentation? Contact us for support!