Skip to content

manelio/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

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.8%
  • Other 0.2%