Skip to content

containers-js/containerd

Repository files navigation

@containers-js/containerd

TypeScript client for containerd.

Installation

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

Usage

import {Client} from '@containers-js/containerd'

const client = new Client('unix:/run/containerd/containerd.sock', 'example-namespace')
const res = await client.containers.list({})

License

MIT License, see LICENSE

Packages

No packages published

Contributors 2

  •  
  •  

Languages