Socket
Book a DemoInstallSign in
Socket

docker-pull

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docker-pull

Pull a docker image from a registry using node

Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
10
100%
Maintainers
1
Weekly downloads
 
Created
Source

docker-pull

Pull a docker image from a registry using node

npm install docker-pull

Usage

var pull = require('docker-pull')

pull('ubuntu', function(err) {
  console.log('was pulled?', !err)
})

var p = pull('ubuntu:14.04')

p.on('progress', function() {
  console.log('pulled %d new layers and %d/%d bytes', p.layers, p.transferred, p.length)
})

p.on('end', function() {
  console.log('pull is done')
})

Command line tool

There is also a command line tool

npm install -g docker-pull
docker-pull ubuntu:14.04

License

MIT

FAQs

Package last updated on 16 Nov 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts