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

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

Docker Monitoring Stack with Grafana

In this tutorial we will dive a bit deeper into the docker-monitoring-stack-gpnc repository, on how to setup a docker monitoring stack that runs grafana, prometheus, node-exporter, cadvisor and alertmanager, which includes node and container level metric dashboards. About The repo has been built to get a monitoring stack up and running within seconds and the components includes: Grafana: For visualising graphs Prometheus: Timeseries Database for Metrics cAdvisor: Exposes Container Metrics Node-Exporter: Exposes Node Metrics Alertmanager: Manages Alerts Setup First clone the repository:...

April 7, 2022 路 2 min 路 Ruan Bekker

Run OpenLDAP on Docker

In this tutorial we will setup two containers, openldap and a openldap ui to manage our users on openldap. What is OpenLDAP OpenLDAP is an open source implementation of the Lightweight Directory Access Protocol, which makes it possible for organizations to use centralized authentication and directory access services over a network. Configuration This stack will boot a openldap and openldap-ui container container with the following docker-compose.yml: version: "3.8" services: openldap: image: osixia/openldap:1....

March 20, 2022 路 2 min 路 Ruan Bekker