Socket
Socket
Sign inDemoInstall

docker-image-exists

Package Overview
Dependencies
73
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    docker-image-exists

Check if a docker image exists in the docker hub registry


Version published
Maintainers
1
Install size
9.60 MB
Created

Readme

Source

docker-image-exists

Ever needed to check if a specific docker image has been published to Docker Hub?

Install

npm install -g docker-image-exists

Usage

export DOCKER_USER=stayradiated
export DOCKER_PASSWORD=supersecretpassword

if docker-image-exists --quiet --repo stayradiated/dockerthing:2.0.0
then
  echo Docker image exist!
else
  echo Need to create docker image!
fi

Options

Usage: docker-image-exists [options]

Options:

  -h, --help                 output usage information
  -V, --version              output the version number
  -q, --quiet                Do not print anything to console
  -r, --repo [repo]          Docker repo name (owner/name:tag)
  -u, --username [username]  Docker username
  -p, --password [password]  Docker password

FAQs

Last updated on 28 Mar 2017

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc