Go to file
2024-02-02 16:54:07 +01:00
.gitea/workflows fix(core): update 2024-02-02 16:40:38 +01:00
.vscode fix(core): update 2022-10-17 09:36:35 +02:00
scripts fix(core): update 2024-02-02 16:40:38 +01:00
test fix(core): update 2024-02-02 16:54:07 +01:00
ts fix(core): update 2024-02-02 16:54:07 +01:00
.gitignore fix(core): update 2020-03-22 23:53:31 +00:00
.npmignore start Dockerfile for tests 2016-06-14 08:49:13 +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 2022-10-17 09:36:35 +02:00
package.json 1.0.106 2024-02-02 16:40:39 +01:00
pnpm-lock.yaml fix(core): update 2024-02-02 16:40:38 +01:00
readme.md fix(core): update 2020-09-30 16:35:24 +00:00
tsconfig.json fix(core): update 2024-02-02 16:40:38 +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