source: trip-planner-front/node_modules/is-docker/index.d.ts@ bdd6491

Last change on this file since bdd6491 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 254 bytes
Line 
1/**
2Check if the process is running inside a Docker container.
3
4@example
5```
6import isDocker = require('is-docker');
7
8if (isDocker()) {
9 console.log('Running inside a Docker container');
10}
11```
12*/
13declare function isDocker(): boolean;
14
15export = isDocker;
Note: See TracBrowser for help on using the repository browser.