Last active
July 20, 2018 12:46
-
-
Save famousgarkin/bb2b2671a9ba5d303e204993520784f9 to your computer and use it in GitHub Desktop.
check if inside Docker container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep -q docker /proc/1/cgroup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment