Skip to content

Docker

19 pages
  • GPU Containers: Drivers and /dev/nvidia0

    In Posts 595 words 3 min

    AiDevopsDockerNvidiaTlsPython

    GPU containers let you run inference straight on a workstation, but the first thing that breaks is /dev/nvidia0 access. Driver mismatches between host and container trigger no suitable GPU device found. Below are concrete commands for runtime setup, …

    GPU containers let you run inference straight on a workstation, but the first thing that breaks is /dev/nvidia0 access. Driver mismatches between host and container trigger no suitable GPU device found. Below are concrete commands for runtime setup, …

  • Beszel: single host agent

    In Posts 528 words 3 min

    SelfhostedLinuxDockerMonitoring

    Beszel combines a monitoring server and agent in one Docker container, ideal for local host oversight without external dependencies. This guide walks through Docker Compose setup, key retrieval, firewall considerations, and health checks for a …

    Beszel combines a monitoring server and agent in one Docker container, ideal for local host oversight without external dependencies. This guide walks through Docker Compose setup, key retrieval, firewall considerations, and health checks for a …

  • Jellyfin: enable VAAPI in compose

    In Posts 526 words 3 min

    SelfhostedJellyfinVaapiDockerGpu

    Jellyfin on Intel iGPU or AMD hardware without VAAPI acceleration saturates CPU during video transcoding. Docker Compose can enable hardware decoding via /dev/dri passthrough, group membership, and environment variables. This note covers a minimal …

    Jellyfin on Intel iGPU or AMD hardware without VAAPI acceleration saturates CPU during video transcoding. Docker Compose can enable hardware decoding via /dev/dri passthrough, group membership, and environment variables. This note covers a minimal …

  • Homepage dynamic routes via environment variables

    In Posts 677 words 4 min

    SelfhostedHomepageDockerDevopsEnvironment

    Lead paragraph: Homepage consolidates service status pages into a single interface, but hardcoded URLs limit flexibility when working across multiple environments. Using environment variables with the {{ .Env.VAR }} templating variable allows dynamic …

    Lead paragraph: Homepage consolidates service status pages into a single interface, but hardcoded URLs limit flexibility when working across multiple environments. Using environment variables with the {{ .Env.VAR }} templating variable allows dynamic …

  • Docker socket protection against unauthorized access

    In Posts 658 words 4 min

    SecurityDockerLinux

    The Docker Unix socket grants root-level control over the host daemon, and its default permissions expose that control to any user in the docker group. Misconfigured socket permissions remain one of the most frequent vectors for privilege escalation …

    The Docker Unix socket grants root-level control over the host daemon, and its default permissions expose that control to any user in the docker group. Misconfigured socket permissions remain one of the most frequent vectors for privilege escalation …

  • Gitea: Migrate repositories between disks without downtime

    In Posts 552 words 3 min

    SelfhostedGiteaLinuxRsyncDocker

    Migrate Gitea repositories between disks without user-visible downtime. The stop‑copy‑symlink workflow preserves git object hashes, file permissions, and commit history while keeping the service path unchanged. Подготовка и остановка контейнера …

    Migrate Gitea repositories between disks without user-visible downtime. The stop‑copy‑symlink workflow preserves git object hashes, file permissions, and commit history while keeping the service path unchanged. Подготовка и остановка контейнера …

  • Reset Vaultwarden Master Password via SQLite Without Container Restart

    In Posts 29 words 1 min

    SelfhostedVaultwardenSqliteDockerSecurityPassword-Reset

    Here’s a thinking process: Analyze User Input: Topic: Vaultwarden: reset master password via SQLite without container restart Role: Practicing Lead DevOps, short paragraphs, concrete commands, tables/flags with code fences,

    Here’s a thinking process: Analyze User Input: Topic: Vaultwarden: reset master password via SQLite without container restart Role: Practicing Lead DevOps, short paragraphs, concrete commands, tables/flags with code fences,

  • Llama.cpp: Running model in container without GPU

    In Posts 501 words 3 min

    AiLlamaDockerCpuTutorial

    Running Llama.cpp inside Docker on a CPU-only host removes every GPU assumption by default. This note covers the minimal Dockerfile, environment flags, quantization, and speed verification without a single CUDA dependency. Why run llama.cpp without …

    Running Llama.cpp inside Docker on a CPU-only host removes every GPU assumption by default. This note covers the minimal Dockerfile, environment flags, quantization, and speed verification without a single CUDA dependency. Why run llama.cpp without …

  • Docker Compose: service without external port

    In Posts 526 words 3 min

    DockerComposeSelfhostedNetworking

    In Docker Compose, a service without an external port runs entirely inside the defined network, accessible only to other containers or through internal resolution. This pattern is common for databases, caches, and auxiliary tools that support a …

    In Docker Compose, a service without an external port runs entirely inside the defined network, accessible only to other containers or through internal resolution. This pattern is common for databases, caches, and auxiliary tools that support a …

  • ntfy: push to a single topic

    In Posts 941 words 5 min

    SelfhostedNtfyDockerDevopsLinux

    If you need instant notifications from your services without relying on external services, ntfy lets you run your own pusher under your own topics. This note covers the minimal scenario: docker-compose, basic configuration, and sending the first …

    If you need instant notifications from your services without relying on external services, ntfy lets you run your own pusher under your own topics. This note covers the minimal scenario: docker-compose, basic configuration, and sending the first …

  • Vaultwarden TLS recovery after certificate change

    In Posts 425 words 2 min

    SelfhostedVaultwardenTlsSecurityDocker

    Lead paragraph: After changing the TLS certificate, Vaultwarden stops serving HTTPS traffic despite the container still running. Recreating the container isn’t necessary — just update the certificate paths in compose and perform manual certificate …

    Lead paragraph: After changing the TLS certificate, Vaultwarden stops serving HTTPS traffic despite the container still running. Recreating the container isn’t necessary — just update the certificate paths in compose and perform manual certificate …

  • Caddy reverse_proxy for a single container

    In Posts 520 words 3 min

    SelfhostedCaddyReverseproxyDockerCompose

    When exposing a single internal service through Caddy in Docker Compose, the reverse_proxy directive is the entry point. This note covers the minimal compose config, Caddyfile syntax, verification steps, and the common network trap causing 502 …

    When exposing a single internal service through Caddy in Docker Compose, the reverse_proxy directive is the entry point. This note covers the minimal compose config, Caddyfile syntax, verification steps, and the common network trap causing 502 …

  • Docker cleanup stopped containers: how to properly clean the system

    In Posts 496 words 3 min

    DockerSelfhostedDevopsLinux

    Lead paragraph: Docker-powered systems accumulate stopped containers over time, consuming disk space and cluttering ps output. A practicing Lead DevOps regularly prunes the environment to free space before deployments and keep diagnostics lean. …

    Lead paragraph: Docker-powered systems accumulate stopped containers over time, consuming disk space and cluttering ps output. A practicing Lead DevOps regularly prunes the environment to free space before deployments and keep diagnostics lean. …

  • Watchtower auto-update setup for self-hosted containers

    In Posts 420 words 2 min

    SelfhostedDockerWatchtowerDevopsAutomation

    Watchtower provides a lightweight mechanism to keep self-hosted containerized services current without manual docker pull and docker restart. For a Lead DevOps managing multiple services on a single host, it reduces the risk of forgotten updates and …

    Watchtower provides a lightweight mechanism to keep self-hosted containerized services current without manual docker pull and docker restart. For a Lead DevOps managing multiple services on a single host, it reduces the risk of forgotten updates and …

  • freellmapi-stack: FreeLLMAPI on its own VM behind VLESS

    In Posts 1434 words 7 min

    Self-HostedDockerLlmDevops

    FreeLLMAPI on a laptop is docker compose up and a dashboard on localhost:3001. The same image is thin for a dedicated VM: Google and some other providers do not answer from a Russian IP, and an open panel hands provider keys to whoever reaches it. …

    FreeLLMAPI on a laptop is docker compose up and a dashboard on localhost:3001. The same image is thin for a dedicated VM: Google and some other providers do not answer from a Russian IP, and an open panel hands provider keys to whoever reaches it. …

  • FreeLLMAPI: free models behind one local key

    In Posts 838 words 4 min

    Self-HostedDockerLlmDevops

    There are a lot of free models now. Groq, Gemini, Cerebras, Mistral, Cloudflare — each with its own key, its own URL, and its own moment when the daily limit runs out. The work turns into constant switching: this client points at one base URL, that …

    There are a lot of free models now. Groq, Gemini, Cerebras, Mistral, Cloudflare — each with its own key, its own URL, and its own moment when the daily limit runs out. The work turns into constant switching: this client points at one base URL, that …

  • Docker logs and journald: choosing a logging driver

    In Posts 765 words 4 min

    DockerDevopsLinuxLoggingSystemd

    When a container crashes, logs are the first thing you need to see. docker logs looks simple, but under the hood different logging drivers are at work, and the choice affects how logs are stored, rotated, and accessed. Here is what you should know …

    When a container crashes, logs are the first thing you need to see. docker logs looks simple, but under the hood different logging drivers are at work, and the choice affects how logs are stored, rotated, and accessed. Here is what you should know …

  • CasaOS: Web Dashboard for Home Lab

    In Posts 704 words 4 min

    LinuxDockerSelfhostedHome-Lab

    CasaOS is a lightweight web dashboard for managing Docker containers on a single host. If you’re currently accessing each container through its own port, this replaces that mess with a unified interface where you can install apps with a couple of …

    CasaOS is a lightweight web dashboard for managing Docker containers on a single host. If you’re currently accessing each container through its own port, this replaces that mess with a unified interface where you can install apps with a couple of …

  • kind: Local Kubernetes in Docker

    In Posts 902 words 5 min

    KubernetesDockerDevopsLinuxLocal-Dev

    kind creates a Kubernetes cluster from Docker containers: control-plane and worker nodes are kindest/node images. Primary use cases are local development and CI. GitHub Actions has an official create-kind action that makes pipelines with K8s tests …

    kind creates a Kubernetes cluster from Docker containers: control-plane and worker nodes are kindest/node images. Primary use cases are local development and CI. GitHub Actions has an official create-kind action that makes pipelines with K8s tests …