source:
trip-planner-front/node_modules/is-docker/index.d.ts
Last change on this file was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 254 bytes |
Line | |
---|---|
1 | /** |
2 | Check if the process is running inside a Docker container. |
3 | |
4 | @example |
5 | ``` |
6 | import isDocker = require('is-docker'); |
7 | |
8 | if (isDocker()) { |
9 | console.log('Running inside a Docker container'); |
10 | } |
11 | ``` |
12 | */ |
13 | declare function isDocker(): boolean; |
14 | |
15 | export = isDocker; |
Note:
See TracBrowser
for help on using the repository browser.