Just a quickie: this is the command I'm using on my Acer Nitro latop to run Ollama in Docker with GPU acceleration: group_id_video=$(getent group video | cut -d: -f3) group_id_render=$(getent group render | cut -d: -f3) docker run -d \ --privileged \ --device /dev/kfd \ --device /dev/dri \ --volume ollama:/root/.ollama \ --volume "/some/path/ollama:/images" \ --group-add … Continue reading Docker, Ollama, Ubuntu & Radeon GPU
Tag: docker
cloudflared docker health check
Cloudflare's cloudflared container doesn't come with a good health check - or so it seems [1]. The functionality is there, though. The tunnel needs to be started with metrics enabled (here: exposed to 127.0.0.1:20241) and the health check needs to call the proper check. cloudflared: image: cloudflare/cloudflared:latest ... command: tunnel --metrics 127.0.0.1:20241 run healthcheck: test: … Continue reading cloudflared docker health check
A Zabbix active agent2 template for monitoring containers and container logs
The problem Zabbix (up to v7.2) doesn't seem to be able to monitor the Docker engine and containers in active mode, nor can it collected container logs, which is surprising, since it collects a wide range of container-, image- and runtime engine metrics in passive mode. The solution is a custom agent2 (I'll refer to … Continue reading A Zabbix active agent2 template for monitoring containers and container logs
Running clamav in Docker under Linux
Update 2023.10.20: there is a newer version on Github [3] I'm running ClamAV [1] on an Ubuntu 18.04 server in Docker and wanted to document, for posteriority and my own dementia, the setup process and considerations. Thankfully there is an official (?), well-maintained ClamAV image on Docker hub. ClamAV can run stand-alone or as a … Continue reading Running clamav in Docker under Linux
My home NAS setup, 2022 edition
This post is an update of the my 2020 home NAS setup. A few things changed since then, the most important the introduction of snapraid for the media and archiving portion of the NAS. The hardware hasn't changed much apart from a (preventive) hard-disk replacement; my admiration and gratitude goes to HP for building a … Continue reading My home NAS setup, 2022 edition
