Mount an SMB Share in Linux

Installation The LinuxCIFS utils package provides the tools needed to connect to a share and manage mounts on a Linux system. You use it to help create and manage a connection to a Windows, macOS, or Linux share. Update the list of available packages using the below command: sudo apt…

How to enable log rotation for Docker containers

The log files for your Docker applications can grow to enormous size if allowed to - many 100's of GBs. I have heard of these logs crashing systems due to their filling up the storage on the server. Thankfully, the simple solution to this issue is the logrotaion…

ctop - concise commandline monitoring for containers

Top-like interface for container metrics ctop provides a concise and condensed overview of real-time metrics for multiple containers: as well as a single container view for inspecting a specific container. ctop comes with built-in support for Docker and runC; connectors for other container and cluster systems are planned for future…

Docker - move data from Bind Mount to Volume

I recently decided to move the persistent data for this Ghost blog from a Bind Mount to a dedicated Docker Volume, this was mainly due to issues with backing up a running SQL database. Below is the simple process I followed. * Stop the running container (For example Dozzle). * Create a…

ZimaBoard - personal cloud

Introduction The ZimaBoard is a low-cost single board server that can be hacked to run various open source applications and services. It has both the expandability of an x86 SBC and the power of a micro server, and supports Linux, Windows, OpenWrt, pfSense, Android and more. My homelab has been…

Assign Static IP to Container with Docker Compose

Introduction When we run a Docker container, it connects with a virtual network using an IP address. For this reason, we expect services to get a configuration dynamically. However, we might want to use a static IP instead of an automatic IP allocation. Docker runs its own DNS services that…

Implement a Health Check in Docker Compose

Introduction In a containerized environment, monitoring the health of your containers is essential to ensure the smooth operation of your applications. Docker Compose, a popular tool for defining and managing multi-container applications, provides a straightforward way to incorporate health checks into your container setup. Why are Health Checks Important? Health…