Here's the info I got about detecting if FAI is run inside a docker container:
Googling around, there are a few ways. It looks like this could be the most consistent: grep -E ":/docker/.+$" /proc/1/cgroup ..which is looking for cgroups under a docker cgroup It may be refined to: grep -E ":/docker/[0-9a-f]+$" /proc/1/cgroup ..but I can't say that for sure. What do you think, does that sound reasonable ? -- viele Grüße Thomas