Skip to main content
Module

x/is/mod.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/mod.ts";

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

Requires the --allow-read flag.

Returns

boolean