Alpine + Docker

Because the official guide at doesn’t work as expected, I try to summarize, what I had to do to make it work:

Installing the alpine linux straight forward as describes.

Afterwards, you have to perform the following steps:

  • In the file /etc/apk/repositories enable the “edge” and “v3.3” repositories (we need both!)
  • Update & upgrade alpine
apk update
apk upgrade
  • Because of the compatibility issue for the module-package linux-grsec (which installs 4.4.8), install the 4.1.20 (or the package, which is for the current system valid – check per uname -r  package instead
apk rm linux-grsec
apk add 'linux-grsec=4.1.20-rc0'


2 thoughts on “Alpine + Docker”

  1. Hi Philipp;

    I’m curious what did’nt work as expected when you followed the alpine wiki ?
    Mostly because I followed it many times without any issue and contribute to it 😉



    1. This post is about 2 years old, so I’m not quite sure anymore what happend 😀

      AFAIK, I had some version issues with the package linux-grsec in alpine, which blocked docker to get installed.
      But if you say it worked for you many times, this incompatibility got surely fixed 🙂


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.