You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
ecommerce_docker/frontend_server/node_modules/is-docker/readme.md

26 lines
443 B

# is-docker [![Build Status](https://travis-ci.org/sindresorhus/is-docker.svg?branch=master)](https://travis-ci.org/sindresorhus/is-docker)
> Check if the process is running inside a Docker container
## Install
```
$ npm install is-docker
```
## Usage
```js
const isDocker = require('is-docker');
if (isDocker()) {
console.log('Running inside a Docker container');
}
```
## License
MIT © [Sindre Sorhus](https://sindresorhus.com)