0.0.1 • Published 3 years ago

@containers-js/containerd v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@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