Skip to content

Image Functions

Michal "Gumernus" Kopčík edited this page Dec 23, 2022 · 2 revisions

listImages()

Function listImages() lists all downloaded images.

Example

import { Docker } from "../src/index.js"
let docker = new Docker();

await docker.listImages();

Output

[
   {
    Containers: -1,
    Created: 1671215167,
    Id: 'sha256:ba33373b525b2575c064c3879b9d33e1f81ccd1127cd7e1c58928436ee6ad47e',
    Labels: null,
    ParentId: 'sha256:48447d229fd35a3bf629730311d817fb21b69aff57fd2b128cf7ca0bf0741763',
    ...
  }
]

Parameters

This function doesn't have any parameters.

Clone this wiki locally