@containers-js/containerd
v0.0.1
Published
TypeScript client for [`containerd`](https://github.com/containerd/containerd).
Downloads
4
Readme
@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