liukang b4b8ddf15d admin-vue 1 year ago
..
index.d.ts b4b8ddf15d admin-vue 1 year ago
index.js b4b8ddf15d admin-vue 1 year ago
license b4b8ddf15d admin-vue 1 year ago
package.json b4b8ddf15d admin-vue 1 year ago
readme.md b4b8ddf15d admin-vue 1 year ago

readme.md

is-docker Build Status

Check if the process is running inside a Docker container

Install

$ npm install is-docker

Usage

const isDocker = require('is-docker');

if (isDocker()) {
	console.log('Running inside a Docker container');
}

License

MIT © Sindre Sorhus