npm

Need private packages and team management tools?Check out npm Orgs. »

push-docker-image

1.1.0 • Public • Published

NPM Version Build Status Coverage Status NPM Downloads

push-docker-image

Push docker image .tar.gz files to a docker registry.

This tool is only compatible with:

This tool accepts a path to a docker image stored as a .tar.gz file following the Combined Image JSON + Filesystem Changeset Format of the docker image specification v1.2.

Usage

CLI

push-docker-image myImage.tar.gz

Node API

const pushDockerImage = require('push-docker-image');
 
const options = {
  auth: { username: 'user', password: 'password '},
  ssl: false
};
 
// The `options` argument is optional
pushDockerImage('/path/to/myImage.tar.gz', options)
    .then(() => console.log('Successfully uploaded.')
    .catch(() => console.log('Upload failed');

install

npm i push-docker-image

Downloadsweekly downloads

5

version

1.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability