Go to file
2020-09-30 16:56:40 +00:00
.vscode fix(core): update 2020-09-30 16:35:24 +00:00
scripts fix(core): update 2019-09-13 22:09:35 +02:00
test fix(core): update 2020-09-30 16:56:39 +00:00
ts fix(core): update 2020-09-30 16:35:24 +00:00
.gitignore fix(core): update 2020-03-22 23:53:31 +00:00
.gitlab-ci.yml fix(core): update 2020-09-30 16:35:24 +00:00
.npmignore start Dockerfile for tests 2016-06-14 08:49:13 +02:00
.snyk fix(core): update 2019-10-05 15:59:36 +02:00
docker-compose.yml fix(core): shift to new style 2018-07-16 23:52:50 +02:00
LICENSE Initial commit 2016-04-12 12:40:06 +02:00
npmextra.json fix(core): update 2020-03-22 23:53:31 +00:00
package-lock.json 1.0.98 2020-09-30 16:56:40 +00:00
package.json 1.0.98 2020-09-30 16:56:40 +00:00
readme.md fix(core): update 2020-09-30 16:35:24 +00:00
tslint.json fix(core): update 2019-01-10 00:24:35 +01:00

@mojoio/docker

unofficial docker engine api abstraction package written in TypeScript

Status for master

Status Category Status Badge
GitLab Pipelines pipeline status
GitLab Pipline Test Coverage coverage report
npm npm downloads per month
Snyk Known Vulnerabilities
TypeScript Support TypeScript
node Support node
Code Style Code Style
PackagePhobia (total standalone install weight) PackagePhobia
PackagePhobia (package size on registry) PackagePhobia
BundlePhobia (total size when bundled) BundlePhobia
Platform support Supports Windows 10 Supports Mac OS X

Usage

Use TypeScript for best in class instellisense.

import { DockerHost } from '@mojoio/docker'; // require Dockersock class

const run = async () => {
  const myDockerHost = new DockerHost(); // optional: you can pass a domain to the contructor, defaults to  /var/run/docker.sock

  const containers = await myDockerHost.getContainers(); // promise, resolve with an array of DockerContainers
};

Contribution

We are always happy for code contributions. If you are not the code contributing type that is ok. Still, maintaining Open Source repositories takes considerable time and thought. If you like the quality of what we do and our modules are useful to you we would appreciate a little monthly contribution: You can contribute one time or contribute monthly. :)

For further information read the linked docs at the top of this readme.

MIT licensed | © Lossless GmbH | By using this npm module you agree to our privacy policy

repo-footer