[2025-jun-17] The SlackDocs mailing lists at https://lists.alienbase.nl/mailman/listinfo have been retired. No one has been using these lists for years and it's time to say goodbye. The list archives remain available at https://scalzi.slackware.nl/mailman/listinfo/slackdocs
[2025-jun-17] The SlackDocs Wiki has moved to a new server, in order to make it more performant.
This is an old revision of the document!
Table of Contents
Docker on Slackware
There's a Slackware package for Docker on Slackbuilds, but there is a small caveat when installing.
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
IMPORTANT!!!
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 fi
# chmod 755 /etc/rc.d/rc.docker # /etc/rc.d/rc.docker start
Check /var/log/docker.log for any issues.