Alpine + Docker

Because the official guide at https://wiki.alpinelinux.org/wiki/Docker doesn’t work as expected, I try to summarize, what I had to do to make it work:

Prerequists:
Installing the alpine linux straight forward as https://wiki.alpinelinux.org/wiki/Install_to_disk 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

  • 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

 

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 😉

    Regards!

    Jonathan

    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 🙂

      Regards,
      Philipp

Leave a Reply

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