Code Monkey home page Code Monkey logo

sync-docker-images's Introduction

sync-docker-images

skopeo sync --src yaml --dest docker sync.yml my-registry.local.lan/repo/

1.修改设置自己的仓库

env:
  ACTOR: Myki
  #修改cheche成自己的仓库名称即可
  DEST-REGISTORY: docker.io/cheche

2.设置仓库账号密码(脱敏设置)

DOCKER_USERNAME和DOCKER_PASSWORD为仓库的登录密码,本来要写入配置文件容易暴露,所以脱敏一下 设置入口 Settings --> 左侧菜单栏 secrets --> New repository secret

3.修改需要备份的镜像(配置文件sync.yml)"[]"为备份所有镜像tag

docker.io:
    tls-verify: false
    images:
      #备份青龙
      whyour/qinglong: []
      #备份诺兰jdc
      cheche/nvjdc: []

sync-docker-images's People

Contributors

21ki avatar

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.