Interactive Angular 19 demo for @sda/notification-elements-ui with 6 sections: Bell & Feed, Notification Center, Inbox, Comments & Threads, Mention Input, and Full-Featured layout. Includes mock data, dark mode toggle, and real-time event log. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
547 B
547 B
is-inside-container
Check if the process is running inside a container
Install
npm install is-inside-container
Usage
import isInsideContainer from 'is-inside-container';
if (isInsideContainer()) {
console.log('Running inside a container');
}
CLI
is-inside-container
Exits with code 0 if inside a container and 2 if not.
Supported containers
- Docker
- Podman
Related
- is-docker - Check if the process is running inside a Docker container