is-in-docker
v0.1.2
Published
A simple module to check if the process is running inside docker or not
Downloads
542
Maintainers
Readme
is-in-docker
Check if the process is running inside or outside of docker container
Install
$ npm install --save is-in-docker
Usage
var isInDocker = require('is-in-docker');
if (isInDocker()) {
console.log('I am running inside docker container');
}
License
MIT © techgaun