Skip to main content
Module

x/is/docker.ts>isDockerSync

Detect the running environment and context of the current script
Latest
function isDockerSync
import { isDockerSync } from "https://deno.land/x/is@v0.6.0/docker.ts";

Return true if the process is running inside a Docker container synchronously.

Requires the --allow-read flag.

Returns

boolean