Skip to content

Docker fun and games

Richard Forth edited this page Mar 28, 2022 · 4 revisions

Fix

This was actually documented in issue #329

--cap-add SYS_PTRACE

Problem

I've recently started working on a CICD Pipeline for apache2buddy using docker images on the build agent, but I'm running into an issue where I get a division by zero error inside the docker container when analyzing memory usage. This only happens in docker and not on a real or virtual server.

Backstory

I seem to recall fixing this several years ago by adding a certain capability using --cap-add=something. However this something isn't documented anywhere in my notes. UPDATE I found that I had documented this in issue #329

Clone this wiki locally