IT How Tos

Home

About

Sitemap

Contact

Install Docker on Alpine

Reference

Process

Add the Docker Package Community Repository

  • Edit the file /etc/apk/repositories
    • Add or uncomment the line
      https://dl-cdn.alpinelinux.org/alpine/edge/community

Update Alpine

  • Command:
    apk update
    apk upgrade

Install Docker

  • Command:
    apk add docker

Enable Docker

  • To start the Docker daemon at boot, run
    rc-update add docker boot

Manually Start Docker

  • Then to start the Docker daemon manually, run:
    service docker start

Commands to copy

echo 'https://dl-cdn.alpinelinux.org/alpine/edge/community' >> /etc/apk/repositories
apk update
apk uprade
apk add docker
rc-update add docker boot
service docker start

Important Note