Package Exports
- @131/docker-sdk
- @131/docker-sdk/lib/constraint
- @131/docker-sdk/lib/constraint.js
- @131/docker-sdk/registry-auth
- @131/docker-sdk/registry-auth.js
- @131/docker-sdk/stack
- @131/docker-sdk/stack.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@131/docker-sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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