GithubHelp home page GithubHelp logo

image-mover's People

Contributors

tkrausjr avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

sgrman

image-mover's Issues

Source image name should match the destination image name

Src Imagename is vmwarecna/nginx
Slash in image name, New image is harbor.corp.local/core/nginx:latest
--Tagging temp Universe Image docker.io/vmwarecna/nginx:latest for new Registry harbor.corp.local/core/nginx:latest
Destination Docker Image to Push = harbor.corp.local/core/nginx:latest
--Pushing Image to Docker Registry - harbor.corp.local/core/nginx:latest
The push refers to repository [harbor.corp.local/core/nginx]
3e705ba0839f: Pushed
5f70bf18a086: Pushed
49be0dfa0abb: Pushed
8be6c633d7bd: Pushed
9bcabfbf5d99: Pushed
2c676bf83cf0: Pushed
e94712370c3c: Pushed
0a1c25e52ea1: Pushed
latest: digest: sha256:6e6135c439e04577f156349cf709a35fc5e350c08b89c24e813ebe53dc289d7e size: 3221

New Images uploaded to harbor.vballin.com are ['harbor.corp.local/core/nginx:latest']


Program Finished

Getting this traceback error trying to sync from docker hub to local registry

python3 image-mover.py -i mysql:latest,redis:lastest -m sync -d harbor.corp.local/core

Image List provided as a flag. Images = ['mysql:latest', 'redis:lastest']
mysql:latest
Tag exists, tag = latest
redis:lastest
Tag exists, tag = lastest


args Mode = sync
args Source Registry = None
args Source Images = mysql:latest,redis:lastest
args Destination Registry =harbor.corp.local/core


Querying Destination Registry Host = harbor.corp.local/core
--Found Repositories on server
/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py:847: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
Traceback (most recent call last):
File "image-mover.py", line 330, in
dst_repos = get_registry_images(dst_registry_proto, args.destination_registry)
File "image-mover.py", line 71, in get_registry_images
responseJson = response.json()
File "/usr/local/lib/python3.7/site-packages/requests/models.py", line 897, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/init.py", line 348, in loads
return _default_decoder.decode(s)
File "/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

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.