Welcome to the Slackware Documentation Project

This is an old revision of the document!

Docker on Slackware

There's a Slackware package for Docker on Slackbuilds, but there is a small caveat when installing. In case you are wondering, the docker build gives you the CE version of Docker.

Steps to install

As root, first install skpkg:

# git clone https://github.com/dslackw/slpkg.git
# cd slpkg
# python setup.py install
# slpkg update

Next you must install google-go-lang

slpkg -s sbo google-go-lang


Log out (from root) and log back in again before you continue to install the rest of the docker packages:

# slpkg -s sbo tini
# slpkg -s sbo docker-proxy 
# slpkg -s sbo libseccomp 
# slpkg -s sbo runc 
# slpkg -s sbo containerd 
# slpkg -s sbo docker
# slpkg -s sbo docker-compose

Next ensure docker starts on boot. Edit /etc/rc.d/rc.local, add this:

# Start docker
if [ -x /etc/rc.d/rc.docker ]; then
  /etc/rc.d/rc.docker start
# chmod 755 /etc/rc.d/rc.docker
# /etc/rc.d/rc.docker start

Check /var/log/docker.log for any issues.


* Original Author User bifferos

* Special thanks to ponce, see this thread

In Other Languages
Translations of this page?:
QR Code
QR Code howtos:cloud:docker (generated for current page)