Complete residential site build with Docker Compose & Gitea Actions deployment

This commit is contained in:
CalebLewallen
2026-05-13 17:31:20 -04:00
parent f9c4e13a50
commit 3c22823f72
19354 changed files with 2097331 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
# is-docker
> Check if the process is running inside a Docker container
## Install
```sh
npm install is-docker
```
## Usage
```js
import isDocker from 'is-docker';
if (isDocker()) {
console.log('Running inside a Docker container');
}
```
## CLI
```sh
$ is-docker
```
Exits with code 0 if inside a Docker container and 2 if not.
```sh
$ is-docker && echo "Running in Docker" || echo "Not running in Docker"
```
## Related
- [is-inside-container](https://github.com/sindresorhus/is-inside-container) - Check if the process is running inside a container