docker-toolbelt
    Preparing search index...

    Function withImageRootDirMounted

    • Same as imageRootDir, but provides the full mounted rootfs for AUFS and overlay2, and has a disposer to unmount.

      Type Parameters

      • T

      Parameters

      • client: Dockerode
      • image: string
      • fn: (target: string) => T

      Returns Promise<T>