Skip to content

Instantly share code, notes, and snippets.

@cirocosta
cirocosta / get-image-config.sh
Created November 26, 2017 12:30
Retrieves the configuration of images pushed to Docker registries - see https://ops.tips/blog/inspecting-docker-image-without-pull/ for more information
#!/bin/bash
# Retrieves image configuration using
# private registries without authentication
set -o errexit
# Address of the registry that we'll be
# performing the inspections against.
# This is necessary as the arguments we