GithubHelp home page GithubHelp logo

cfcr-migration's Introduction

Migration for cfcr to

Usage

prerequest: codefresh-cli, docker + docker login to dest registry

  migrate-from-cfcr.sh <to-registry repo prefix> [ codefresh get images agruments ]

Example:
migrate-from-cfcr.sh gcr.io/codefresh-inc --image-name codefresh/cf-api --limit 10000

Features

  • Pushed images are recorded in done/ folder and are not processed on next run
  • if space or inodes usage exceeds DU_THRESHOLD it cleans by docker images prune -a --force $IMAGES_PRUNE_FILTER

Environments

DOCKER_ROOT=${DOCKER_ROOT:-/var/lib/docker}
DU_THRESHOLD=${DU_THRESHOLD:-95}
IMAGES_PRUNE_FILTER=${IMAGES_PRUNE_FILTER:-"until=20m"}

VM Setup

Start VM with Linux with big disk (at least 200G , depending on your image sizes) for /var/lib/docker

cfcr-migration's People

Contributors

kosta709 avatar

Watchers

Oleg Verhovsky avatar James Cloos avatar Raziel avatar Itai Gendler avatar  avatar  avatar

Forkers

brandonawells

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.