Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Using Nftables With Docker

Learn how one can use nftables for implementing firewall rules, whilst using Docker. However, this will require Docker to run in host networking mode.

Move Docker Data Directory

Learn how to migrate your Docker data to a new volume/partition.

Debian 12 Cloud Init Docker Server

An example cloud init configuration file for Debian 12 with Docker.

Send Emails In A Docker Container Using MSMTP

Learn how to send emails from within a Docker container through the use of MSMTP.

Install Nvidia Container Toolkit

Learn how to install the NVIDIA Container Toolkit, which allows users to build and run GPU accelerated docker containers.

Debian 12 - Install Docker

Install Docker on Debian 12 (Bookworm).

Lecture - Docker Networking With NetworkChuck

Learn about the various Docker networks with a fantastic video from NetworkChuck on Youtube.

Use Remote Docker Host With SSH

This tutorial will show you how you can configure Docker to safely use a remote Docker host, by simply configuring SSH details, rather than having to set up any kind of fancy TLS security.

Docker Build Arguments

Learn about docker build arguments.

Ubuntu 22 - Install Docker

Install docker engine on Ubuntu 22.04

Dockerized GitLab - Enable Container Registry

Enable the registry in your Dockerized GitLab instance.

Getting Started With Docker BuildKit In Order To Safely Use A Private SSH Key During A Build

Learn how to safely make use of a private SSH key during a docker build with the help of Docker buildkit.

Deploying Uptime Kuma With Docker

Learn to deploy Uptime Kuma in seconds.

Docker Compose Build On Windows - Show More Output

Show more output when running docker-compose build on Windows.

Deploying PhpServerMon With Docker

Learn how to deploy the open source PHP Server Monitor tool in order to monitor the uptime of your websites and be alerted when they go offline.

Open Jupyter Notebooks Using Docker

Open a Jupyter notebook using Docker.

Debian 11 - Install Docker

Install Docker on Debian 11 (Bullseye).

Docker - Create .env File On Startup

Create a .env file on startup of your Docker container.

Configure Email (SMTP) For Seafile Deployed Through Docker

Configure SMTP when using Docker for deploying Seafile.

Deploy Seafile Server Through Docker

A tutorial on how to deploy your own Seafile server using Docker.

A Really Basic GitLab Pipeline To Build And Deploy A Docker Image

A simple CI/CD pipeline that will get you something simple/basic in place that you can the "build" (pun intended) upon. This way there isn't a steep learning curve.

Alpine Linux - Install BASH

Install BASH in Alpine Linux

Deploy Docker Container on AWS Quickly Using Cloud Init

Quickly deploy a docker container on AWS using cloud-init.

Alternative Docker PS

Script to get docker ps output in a YAML format

Docker Compose Cheatsheet

A cheatsheet for Docker Compose.

Docker - Ubuntu 20.04 - Automate Setting Timezone

Auatomatically set the timezone in Dockerfile so that you can run update without the build stopping/failing.

Play with PostreSQL Through Docker

Play around with PostgreSQL with docker so that you don't have to install it locally and can throw it away.

Ubuntu 20 - Install Docker

Install docker engine on Ubuntu 20.04

Docker - Fixing Windows Line Endings In BASH Scripts When Using Volumes

Fix issues with using BASH scripts having windows line endings when using Docker volumes.

Debian 10 - Install Docker

Install Docker on Debian 10

Running Composer Install With Docker

Tips for when using composer on PHP projects that use Docker.

Dockerfile - Speed Up The Setting of Permissions

Some tips for optimizing the Docker build process when you are setting permissions on a large number of files.

Ubuntu 16.04 - Ensure Docker Running Overlay2 Storage Driver

Instructions on how to check whether Docker is runnning the recommended overlay2 storage driver, and how to fix it if it is still using aufs instead.

Ubuntu 18.04 - Install Docker

Install Docker on Ubuntu 18.04

Docker - Enter a Running Container With New TTY

How to enter your docker container with a new TTY.

Static Web Hosting With Nginx And Docker

Fix For My Docker Install Issue

Docker Within Docker

Docker Swarm Cheatsheet

Using Traefik with Docker Swarm For Deploying Web Applications

Learn how to deploy Traefik as a reverse web proxy on your Docker swarm, in order to be able to host multiple web applications, that each want to be accessed ports 80 and 443.

Docker Swarm Post 1.12

Deploy WordPress through Docker

Ubuntu - Reverse Proxy Dockerized Websites

Ubuntu 16.04 - Install Docker

Install docker on Ubuntu

Debian 8 Install Docker

Docker - Run Containers On The Same Host and Port

Run Containers On The Same Host

CentOS 7 - Install Docker

Simplifying TLS And Using It For Docker

Lear about Transport Layer Security (TLS), in this tutorial where we set up a certificate authority, and then use it to sign certificates that we use for sending trusted requests/commands to Docker hosts.

Setting Up A Docker Swarm Cluster

Debian 8 - Install Docker Machine

Install Docker Compose

Steps on how to install docker-compose on Debian/Ubuntu distributions.

Deploy Ghost With Docker

Learn how to easily deploy your own blogging platform using Ghost and Docker.

Hosting Multiple Dockerized Websites on a Single Host

Debian 7 - Install Discourse

Run Your Own Private Docker Registry

Learn how to deploy and run your own private Docker registry.

Amazon Linux - Install Docker

Install docker on Amazon Linux

Preparing for the EC2 Container Service (ECS)

Lychee Image Hosting - Deploy with Docker

Docker CLI Cheatsheet

A cheat-sheet for using the Docker CLI, and Docker-compose CLI.