Skip to content

check if the process is running inside docker container or not

License

Notifications You must be signed in to change notification settings

techgaun/is-in-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is-in-docker Build Status

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

About

check if the process is running inside docker container or not

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published