TypeScript client for containerd
.
First, ensure you have installed the containerd
command-line interface.
Next, install with your preferred package manager:
$ yarn add @containers-js/containerd
$ npm install @containers-js/containerd
$ pnpm add @containers-js/containerd
import {Client} from '@containers-js/containerd'
const client = new Client('unix:/run/containerd/containerd.sock', 'example-namespace')
const res = await client.containers.list({})
MIT License, see LICENSE