push-docker-image
Push docker image .tar.gz
files to a docker registry.
This tool is only compatible with:
- images following the docker image spec v1.2
- registries that support the registry API v2
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 = ; const options = auth: username: 'user' password: 'password ' ssl: false; // The `options` argument is optional