Проверка пробела, если внутри LXC
cat /proc/1/environ | sed -r 's/container/\ncontainer/g; s/^\n//g' | grep -a 'container=lxc'
steamboatid
cat /proc/1/environ | sed -r 's/container/\ncontainer/g; s/^\n//g' | grep -a 'container=lxc'