Answers for "bash check if inside lxc"

C
0

bash check if inside lxc

cat /proc/1/environ | sed -r 's/container/ncontainer/g; s/^n//g' | grep -a 'container=lxc'
Posted by: Guest on January-11-2022

Code answers related to "C"

Browse Popular Code Answers by Language