Skip to main content

Simple and straight forward wrapper for container registry API.

Project description

Build Status

A python script to pull images from a Docker repository without installing Docker and its daemon.

The script creates a cache directory (~/.docker-pull-layers-cache) to store layers already downloaded.

Installation

# docker-pull
curl https://raw.githubusercontent.com/sdenel/docker-pull/master/docker-pull -o docker-pull
chmod +x docker-pull

# docker-push
curl https://raw.githubusercontent.com/sdenel/docker-pull/master/docker-push -o docker-push
chmod +x docker-push

Example

./docker-pull index.docker.io/library/alpine alpine
LOADED_IMAGE_ID=`docker load < alpine | tail -n 1 | cut -d ':' -f 3`
docker run $LOADED_IMAGE_ID echo "Hello world"

Ressources

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crpy-0.0.0.tar.gz (11.7 kB view hashes)

Uploaded Source

Built Distribution

crpy-0.0.0-py3-none-any.whl (13.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page