Skip to main content
Version: Next

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>