🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

push-docker-image

Package Overview
Dependencies
Maintainers
8
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

push-docker-image

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

1.1.0
latest
Source
npm
Version published
Weekly downloads
4
-50%
Maintainers
8
Weekly downloads
 
Created
Source

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');

Keywords

docker

FAQs

Package last updated on 31 May 2019

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