Everything Containers Blog

Welcome to containers.fan tech blog, where I write about anything containers from docker, kubernetes, docker swarm, aws ecs, etc. - Feel free to reach out to me on Twitter 馃惁 @ruanbekker

Single Sign-On with Authelia on Docker

In this post we will be looking at Authelia which is a authentication and authorization service using Traefik on Docker containers. We will explore how to secure our web services and use single sign on with multi-factor authentication. About From Authelia鈥檚 website: 鈥淎uthelia is an open-source authentication and authorization server and portal fulfilling the identity and access management (IAM) role of information security in providing multi-factor authentication and single sign-on (SSO) for your applications via a web portal....

March 26, 2023 路 4 min 路 Ruan Bekker

Logging With Docker, Promtail and Grafana Loki

In this post we will use Grafana Promtail to collect all our logs and ship it to Grafana Loki. About We will be using Docker Compose and mount the docker socket to Grafana Promtail so that it is aware of all the docker events and configure it that only containers with docker labels logging=promtail needs to be enabled for logging, which will then scrape those logs and send it to Grafana Loki where we will visualize it in Grafana....

November 18, 2022 路 3 min 路 Ruan Bekker

How to create ARM based images using Buildx

This is a short post on how to create container images with docker and buildx so that it鈥檚 compatible with ARM architectures such as the Apple M1 and Raspberry Pi 64 bit. Dockerfile We will have a simple dockerfile that runs from a alpine image and we will be installing curl: FROM alpine:latest LABEL maintainer "Ruan Bekker" RUN apk --no-cache add curl Buildx List your current builder instances: $ docker buildx ls NAME/NODE DRIVER/ENDPOINT STATUS PLATFORMS default docker default running linux/amd64, linux/386 As you can see we only have amd64 and i386 architecture support for when we build container images....

October 13, 2022 路 2 min 路 Ruan Bekker

Setup Linkding Bookmarks Manager

I鈥檝e stumbled upon a great bookmarks manager service called Linkding. What I really like about it, it allows you to save your bookmarks, assign tags to it to search for it later, it has chrome and firefox browser extensions, and comes with an API. Installing Linkding We will be using Traefik to do SSL termination and host based routing, if you don鈥檛 have Traefik running already, you can follow this post to get that set up:...

May 31, 2022 路 3 min 路 Ruan Bekker

Setup Gitea with Woodpecker CI

In this tutorial we will setup Gitea as our version control system, and we will setup Woodpecker Ci (Server and Agent) to run our builds from a simple pipeline that we define in yaml, and the best is that our builds runs on containers. We will run these on docker and make use of docker-compose. What is Woodpecker Taken from their documentation: 鈥淲oodpecker is a simple CI engine with great extensibility....

April 13, 2022 路 5 min 路 Ruan Bekker