Skip to main content
Version: 3.1

isDocker

Callable

  • isDocker(forceReset?: boolean): Promise<boolean>

  • Returns a Promise that resolves to true if the code is running in a Docker container.


    Parameters

    • optionalforceReset: boolean

    Returns Promise<boolean>