docker

26 Jan 2025

Running a Factorio Server Using Docker

Factorio, a popular real-time strategy game focused on resource management and automation, has captured the hearts of many gamers. Hosting your own Factorio server can enhance your gaming experience by allowing you to play with friends or a community. Docker, a powerful containerization tool, simplifies the process of setting up and managing a Factorio server. This article will guide you through the steps to run a Factorio server using Docker.

23 Jan 2025

Optimizing Docker Compose for Hosting a GitLab Instance

Hosting a GitLab instance using Docker Compose is a popular choice for many organizations looking to leverage the power of containerization for their DevOps needs. However, to ensure optimal performance and resource utilization, it’s crucial to optimize your Docker Compose file. This article will guide you through best practices and tips to enhance your GitLab deployment using Docker Compose. 1. Use Specific Image Tags When defining the GitLab service in your docker-compose.

23 Jan 2025

How to Backup a Self-Hosted GitLab Instance in Docker

In the world of DevOps, ensuring the safety and availability of your data is paramount. For those using a self-hosted GitLab instance running in Docker, setting up a reliable backup strategy is crucial. This article will guide you through the process of backing up your GitLab instance to safeguard your repositories, configurations, and other critical data. Why Backup Your GitLab Instance? GitLab is a powerful tool for managing repositories, CI/CD pipelines, and more.

16 Jan 2025

Self-Hosted Docker Image Registries: A Comprehensive Guide

In the world of containerization, Docker has emerged as a leading platform, enabling developers to package applications into standardized units for development, shipment, and deployment. Central to this ecosystem is the Docker image registry, a service that stores and distributes Docker images. While Docker Hub is the most popular public registry, many organizations opt for self-hosted Docker image registries to maintain control over their images, enhance security, and improve performance. This article explores the benefits of self-hosting a Docker image registry and reviews both open-source and commercial solutions available today.

16 Jan 2025

Enabling Prometheus Metrics in the Zot Project (Docker Image Registry)

The Zot project is an open-source Docker image registry designed to be simple, efficient, and easy to use. As with any critical infrastructure component, monitoring is essential to ensure the registry’s health and performance. Prometheus, a leading open-source monitoring solution, can be integrated with Zot to collect and visualize metrics, providing insights into the registry’s operations. In this article, we will walk through the steps to enable Prometheus metrics in the Zot project, ensuring you have the necessary observability to maintain a healthy Docker image registry.

16 Jan 2025

Enabling Prometheus Metrics in Harbor Project

Harbor is an open-source container image registry that provides various features such as vulnerability scanning, role-based access control, and image replication. As with any critical infrastructure component, monitoring is essential to ensure its smooth operation. Prometheus is a popular open-source monitoring and alerting toolkit that can be integrated with Harbor to collect and visualize metrics. In this article, we will explore how to enable Prometheus metrics in the Harbor project.

16 Jan 2025

Using Harbor as a Self-Hosted Image Registry

In the world of containerization, managing container images efficiently is crucial for seamless deployment and scaling. While Docker Hub is a popular choice for hosting container images, organizations often require a self-hosted solution for better control, security, and compliance. Harbor, an open-source cloud-native registry, is a robust option that provides a secure and scalable environment for managing container images. In this article, we will explore how to set up Harbor as a self-hosted image registry using Docker Compose, and demonstrate how to upload an image to your Harbor registry.

16 Jan 2025

How to List All Projects in a Docker Image Registry

In the world of DevOps, managing container images efficiently is crucial for streamlined operations and deployments. Docker image registries serve as repositories where container images are stored, managed, and retrieved. Whether you’re using Docker Hub, a private registry, or an open-source alternative like Harbor, listing all projects or repositories is a common task. This article will guide you through the process of listing all projects in a Docker image registry using various tools and techniques.

12 Jan 2025

How to Docker Pull from a Registry with an Invalid TLS Certificate

In the world of containerization, Docker has become a pivotal tool for developers and DevOps engineers alike. One of the common tasks is pulling images from a Docker registry. However, sometimes you might encounter a registry with an invalid TLS certificate. This can be due to a self-signed certificate or an expired one. While it’s generally advisable to use valid certificates for security reasons, there are scenarios where you might need to bypass this check for testing or development purposes.

12 Jan 2025

Using HAProxy for TLS Termination in a Docker Container

In today’s cloud-native environments, securing communication between clients and servers is paramount. TLS termination is a common practice where the decryption of incoming TLS connections is handled by a load balancer, offloading this task from backend servers. HAProxy, a reliable and high-performance open-source load balancer, is an excellent choice for this task. In this article, we’ll explore how to set up HAProxy for TLS termination using Docker and Docker Compose.

5 Jan 2025

Pushing Docker Logs to Loki Using Promtail

In the world of DevOps, effective log management is crucial for monitoring, debugging, and maintaining applications. Loki, a log aggregation system inspired by Prometheus, is designed to be cost-effective and easy to operate. It doesn’t index the contents of the logs but rather indexes the metadata, making it a lightweight and efficient solution for log management. In this article, we’ll explore how to push Docker logs to Loki using Promtail, an agent that ships the contents of local logs to a Loki instance.

5 Jan 2025

Using Nginx-Proxy in Your Homelab: A Comprehensive Guide

In the world of self-hosting and homelabs, managing multiple web services can become a complex task. This is where a reverse proxy like Nginx comes into play. Nginx-proxy, an automated reverse proxy for Docker containers, simplifies the process of managing and routing traffic to your various services. In this article, we’ll explore how to set up and use nginx-proxy in your homelab environment. What is Nginx-Proxy? Nginx-proxy is a Docker container that automatically configures itself to act as a reverse proxy for other Docker containers.

26 Dec 2024

Using GitLab as a Container Image Registry

In the world of DevOps, containerization has become a cornerstone for deploying applications efficiently and consistently across various environments. Docker, one of the most popular containerization platforms, allows developers to package applications and their dependencies into containers. However, managing these container images requires a robust image registry. GitLab, a well-known platform for source code management and CI/CD, offers an integrated Container Registry that simplifies the process of storing, sharing, and deploying container images.

26 Dec 2024

Using Gitea as a Container Image Registry

In the world of DevOps, managing container images efficiently is crucial for streamlined development and deployment processes. While Docker Hub and other cloud-based registries are popular choices, there are scenarios where a self-hosted solution is preferable. Gitea, a lightweight and open-source Git service, can be extended to function as a container image registry, providing a seamless and integrated experience for managing both code and container images. Why Use Gitea as a Container Image Registry?

24 Dec 2024

Using Zot Registry as a Pull-Through Cache

In the world of containerization, efficient management of container images is crucial for seamless application deployment and scaling. Container registries play a pivotal role in storing and distributing container images. However, frequent access to remote registries can lead to increased latency and bandwidth usage. This is where a pull-through cache comes into play, and Zot Registry offers an excellent open-source solution for this purpose. What is Zot Registry? Zot is a lightweight, open-source container image registry designed to be simple, secure, and efficient.

24 Dec 2024

Using Zot Registry: A Comprehensive Guide for DevOps Engineers

In the rapidly evolving world of DevOps, containerization has become a cornerstone of modern software development and deployment practices. As organizations increasingly adopt container technologies, the need for efficient and secure container registries has grown. Zot Registry, an open-source OCI-compliant container registry, offers a compelling solution for managing container images. In this article, we’ll explore the features, benefits, and setup of Zot Registry, and how it can be integrated into your DevOps workflow.

24 Dec 2024

Setting Up a Self-Hosted Docker Image Registry

In the world of containerization, Docker has become a cornerstone technology, enabling developers to package applications and their dependencies into a standardized unit called a container. While Docker Hub serves as a popular public registry for storing and sharing Docker images, there are scenarios where a self-hosted Docker image registry becomes essential. This article will guide you through setting up your own Docker image registry, providing greater control, security, and privacy over your container images.

21 Nov 2024

Deploying Grafana Mimir as a Monolith Service with Docker Compose

Grafana Mimir is a powerful open-source time-series database designed to handle large-scale metrics workloads. It is part of the Grafana ecosystem and is known for its scalability and performance. Deploying Grafana Mimir as a monolith service can simplify the setup process, especially for smaller environments or testing purposes. In this article, we’ll walk through deploying Grafana Mimir using Docker Compose, which allows for easy management and orchestration of containerized applications.

31 Oct 2024

Building Your Own Self-Hosted Email Solution: Part One

In a world where privacy concerns are paramount, many organizations and individuals are looking for self-hosted email solutions to regain control over their data. By running your own mail server, you can mitigate risks associated with third-party providers, ensure compliance with data protection regulations, and tailor your email solution to meet your specific needs. This article will lay the groundwork for building a self-hosted email solution and cover the first steps of the process, focusing on the necessary components and considerations.

31 Oct 2024

Best Security Practices for Running Containers in Production

In the modern software ecosystem, containers have become the backbone for deploying applications at scale. They offer simplicity, consistency, and efficiency, making them a favorite for rapid delivery cycles. However, as with any technology, security is of paramount importance. Running containers in production demands robust security practices to protect sensitive data, ensure availability, and maintain trust. Here’s a guide to the best security practices for running containers in production environments.