michangarrito/apps/backend/node_modules/is-docker
rckrdmrd 48dea7a5d0 feat: Initial commit - michangarrito
Marketplace móvil para negocios locales mexicanos.

Estructura inicial:
- apps/backend (NestJS API)
- apps/frontend (React Web)
- apps/mobile (Expo/React Native)
- apps/mcp-server (Claude MCP Server)
- apps/whatsapp-service (WhatsApp Business API)
- database/ (PostgreSQL DDL)
- docs/ (Documentación)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 04:41:02 -06:00
..
cli.js feat: Initial commit - michangarrito 2026-01-07 04:41:02 -06:00
index.d.ts feat: Initial commit - michangarrito 2026-01-07 04:41:02 -06:00
index.js feat: Initial commit - michangarrito 2026-01-07 04:41:02 -06:00
license feat: Initial commit - michangarrito 2026-01-07 04:41:02 -06:00
package.json feat: Initial commit - michangarrito 2026-01-07 04:41:02 -06:00
readme.md feat: Initial commit - michangarrito 2026-01-07 04:41:02 -06:00

is-docker

Check if the process is running inside a Docker container

Install

$ npm install is-docker

Usage

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.