simple-docker-registry-client
v1.1.2
Published
A simple docker registry client for Node
Downloads
1,192
Readme
simple-docker-registry-client
A simple docker registry client for Node
Install
$ npm i --save simple-docker-registry-client
Usage
At the moment this library only handles Basic and Digest authentication for the registry and doesn't wrap any endpoints. It works with the official Docker Registry, other 3rd party services like Quay.io and any other custom V2 registry.
import {registryRequest} from 'simple-docker-registry-client'
registryRequest('some/image/manifests/latest', {
registry: 'https://registry-1.docker.io',
credentials: {
username: 'foo',
password: 'bar',
},
})
.then(manifest => {
...
})
License
Licensed under the MIT License.