Category Archives: Chaperone

Solving Docker Container Permissions Problems

      Comments Off on Solving Docker Container Permissions Problems

One of the most surprising problems you run into using Docker is how daunting it can be to get containers to work seamlessly with attached data storage such as local volumes (-v) or data containers (–volumes-from). Looking for Solutions None of the proposed solutions are really good.  The best is to use data-containers and burn hardcoded permissions directly into the images.  … Read more »

Docker Container Monitoring inetd-style with Chaperone

      Comments Off on Docker Container Monitoring inetd-style with Chaperone

Recently, Chaperone got an exciting new feature that makes it possible to dynamically launch scripts when a port connection occurs.  This is an old idea, and in fact was the purpose of the original inetd “super server” that was part of BSD 4.3 in 1986! It turns out that this feature is really ideal for lean Docker microservice containers because no… Read more »

Simulating a PID file

      Comments Off on Simulating a PID file

In building new Docker containers, I’ve run into a few programs which don’t support PID files.   You know, those files that you typically find in /var/run that tell you what the process ID of a running daemon are?  PID files are important because process managers like systemd and Chaperone (which I’m using to build all my containers now) recognize PID… Read more »