GithubHelp home page GithubHelp logo

prestomanifesto's Introduction

prestomanifesto

This is an opinionated tool to generate multi-arch docker registries.

Assumptions

  • a proper docker registry served via https
  • an account that is able to do administrative tasks, that has its credentials in ~/.docker/config.json (i.e., docker login $domain) was successfully executed.
  • images are stored in architecture specific namespaces (i.e., $domain/$arch/$image:$tag, where $arch is arbitrary, but usually something like amd64, ppc64le,...)

What does it do?

prestomanifesto (concurrently) crawls a registry and collects all architecture specific repositories and tags. It then generates the top-level multi-arch image manifests and pushes them. If the image manifests are already up-to-date, no actual change will be made.

Example

$ prestomanifesto registry.io
crane index append --docker-empty-base --manifest registry.io/amd64/rck:latest --manifest registry.io/s390x/rck:latest --tag registry.io/rck:latest

Docker

This requires a bind mount for config.json, containing the credentials for the registry:

docker run -it --rm \
  -v ~/.docker/config.json:/etc/docker/config.json:ro linbit/prestomanifesto -dry-run registry.io

prestomanifesto's People

Contributors

rck avatar wanzenbug avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

dwtcourses

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.