This article discusses and demonstrates the design and implementation of Moodle using Docker with the option for later deployments with Kubernetes. We’re using Ubuntu 24.04 but this should work fine on similar versions of Ubuntu as well. The key points are: Moodle is deployed via a Docker container. Moodle references
Read moreBrowse our Kubernetes and Docker articles here. We’ve shared our know-how to help beginners get started with a very exciting technology.
Create an LDAP Server Quickly – And add a few users and a group
In this article, we’re going to spin up a quick LDAP server using a Docker image. We’re going to test that a user can authenticate to it using the CLI. We’ll leave it there, but you can point any LDAP tool to it to manage it. Create a “docker-compose.yml” file
Read moreRunning LogStash in Docker
This is a short HowTo for running LogStash in Docker. We’re using Ubuntu 22.04. Install Docker and create our directory structure: apt install docker docker.io mkdir ~/logstash mkdir ~/logstash/config/ ~/logstash/pipeline/ Create the Dockerfile file “~/Dockerfile”: # The image to use: FROM docker.elastic.co/logstash/logstash:8.15.0 # Remove the pre-existing config file from within
Read moreDocker Quick Start (5 minutes to a running web site)
This article demonstrates how to get a web site running using Docker. We’re starting with a Linux server (doesn’t matter which distribution). We’re going to pull down an Docker image from the public repository, modify it’s “index” file, and expose it – making it publicly accessible. I’ve added a little
Read more
Self-Host a Docker Registry
This article walks through the process of creating a self-hosted Docker Registry. We’re using Ubuntu but given that Docker is basically cross-platform (in a way), this should work on any Linux distribution. You can host your Docker Registry on any host you like. When I refer to you “Docker Registry
Read moreDocker 101 – Get your head around Docker
In this article we’re going to walk through installing Docker on Ubuntu, starting a few Docker containers, and then running those containers behind a reverse proxy. When we’re done, you’ll have a load balance terminating SSL (TLS) connections with multiple Docker containers running the workload. This is how it will
Read more
Docker for Windows – Install, run and launch a Web Server in Docker
This article shows how to install Docker for Windows 10 (and probably 11), and then start a web server in a Docker container. Install Docker Visit “https://www.docker.com/products/docker-desktop” and download Docker installer. Start the installation process (you’ll need local admin privileges). During the installation process, the wizard will ask if you
Read more
Kubernetes (MicroK8s) Part 4 – Microk8s in High Availability
The good news is that Microk8s can now be deployed in a multi-node architecture. And it’s simple to do. This video “https://www.youtube.com/watch?v=dNT5uEeJBSw” is a nice demonstration. It uses a floating IP between the cluster nodes that removes the need to use a load balancer in front of your cluster. Start
Read more
Kubernetes (MicroK8s) Part 3 – Exposing Applications on Ubuntu 20.04
This article continues from Part 2 – Replica Sets and Scaling. Our objective in this article is to get an application exposed to the wider network on an IP address of the host and a port of our choice. The IP address will be “10.0.0.210” and our port of choice
Read more
Kubernetes (MicroK8s) Part 2 – Replica Sets and Scaling on Ubuntu 20.04
This article continues from Part 1 – Installation and configuration. We can create a replica set (replicateset) or “rs” for short, so we can scale an application to meet demand. Create a file on the Kubernetes host called “my-rep-set.yaml” and populate it with the following: Tip: This is just an
Read more