QNAP [ Docker Extract (CLI) ] [ 221225 ] Minimal-dependency shell script to pull and extract all files from an image in Docker Hub

  • Vague de SPAM

    Suite à une vague de spam sur le forum, les inscriptions sont temporairement limitées.

    Après votre inscription, un membre de l'équipe devra valider votre compte avant qu'il ne soit activé. Nous sommes désolés pour la gêne occasionnée et vous remercions de votre patience.

QoolBox

Représentant QNAP
2 Janvier 2014
10 748
185
173
51
France
www.qnap.com
Professionnel
Oui
Source : https://github.com/jjlin/docker-image-extract

Download :


usage :

[~] # docker-image-extract
/usr/bin/docker-image-extract IMAGE[:REF]

This script pulls and extracts all files from an image in Docker Hub.

Examples:

# Pull and extract all files in the 'hello-world' image tagged 'latest'.
$ /usr/bin/docker-image-extract hello-world:latest

# Same as above; tag defaults to 'latest'.
$ /usr/bin/docker-image-extract hello-world

# Same as above, but specify the image by digest.
# This also allows for pulling an image for a non-amd64 platform.
$ /usr/bin/docker-image-extract hello-world:sha256:90659bf80b44ce6be8234e6ff90a1ac34acbeb826903b02cfa0da11c82cbc042