Thursday, June 29, 2017

Docker CE for all distributions

The previous post mentioned that Docker provides CE packages for Ubuntu. For users of Debian, SLES, RHEL, Fedora, ClefOS, openSUSE, and Alpine, there is still an option to get the latest Docker CE version to their environment: contains static builds of docker. Downloading the tarball, extracting the binaries into /usr/lib and starting them manually is sufficient for getting it up quickly. Docker documents these steps on their webpages.

Statically built binaries do not depend on any libraries on the host system. That allows to build executables that will work essentially on any Linux flavour with a decent kernel -- which is the case for the current versions of the major distributions.

To fully integrate the binaries into the Linux environment, an integration into systemd (or whatever your distribution of choice uses) makes sense. hints to according systemd unit files.

Update 2017/10/12: the systemd-related related page on page (linked to above) has changed. To integrate with systemd, copy the files docker.socket and docker.service from to  /etc/systemd/system .

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.