@131/docker-sdk
v2.1.0
Published
[![Build Status](https://github.com/131/docker-sdk/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/131/docker-sdk/actions/workflows/test.yml) [![Coverage Status](https://coveralls.io/repos/github/131/docker-sdk/badge.svg?branch=ma
Downloads
282
Readme
Motivation
This module provide an API wrapper for docker & docker registry.
Usage sample
export MY_CORP_NAME_REGISTRY_LOCAL_USER=foo
export MY_CORP_NAME_REGISTRY_LOCAL_PASSWORD=bar
npm install @131/docker-sdk
cnyks @131/docker-sdk/registry-sdk my.corp.name.registry.local --ir://run=manifest --image=my.corp.name.registry.local/some/project/path:v1.2.3
Tips
# Debug using
socat -v TCP-LISTEN:1234,fork PIPE:/tmp/docker_engine.sock
socat -v TCP-LISTEN:1234,fork UNIX-CONNECT:/tmp/docker_engine.sock
export DOCKER_HOST=tcp://127.0.0.1:1234