docker-toolbelt
    Preparing search index...

    Function imageRootDir

    • Gets an string image as input and returns a promise that resolves to the absolute path of the root directory for that image.

      Note: in aufs, the path corresponds to the directory for only the specific layer's fs.

      Parameters

      • client: Dockerode
      • image: string

      Returns Promise<string>