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.
 
 
 

15 lines
254 B

/**
Check if the process is running inside a Docker container.
@example
```
import isDocker = require('is-docker');
if (isDocker()) {
console.log('Running inside a Docker container');
}
```
*/
declare function isDocker(): boolean;
export = isDocker;