is-a-container 158 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 13 #!/bin/sh # MANAGED WITH CHEF; DO NOT CHANGE BY HAND set -e if grep -q '/$' /proc/1/cgroup; then # "Real" system exit 1 else # container exit 0 fi