#!/bin/bash

if [[ -f /.dockerenv ]]; then
	echo 1
	exit 0
fi

if grep -sq 'docker\|lxc' /proc/1/cgroup; then
   echo 1
   exit 0
fi

echo 0
exit 0
