Socket
Socket
Sign inDemoInstall

is-in-docker

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-in-docker

A simple module to check if the process is running inside docker or not


Version published
Maintainers
1
Created
Source

is-in-docker Build Status

Check if the process is running inside or outside of docker container

Install

$ npm install --save is-in-docker

Usage

var isInDocker = require('is-in-docker');

if (isInDocker()) {
    console.log('I am running inside docker container');
}

License

MIT © techgaun

Keywords

FAQs

Package last updated on 20 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc