GithubHelp home page GithubHelp logo

Comments (5)

NotGlop avatar NotGlop commented on August 17, 2024

I have tried it, but I don't have the error:

C:\Users\notglop>python docker_pull.py centos
Creating image structure in: tmp_centos_latest
8ba884070f61: Pull complete [75403831]
Docker image pulled: library_centos.tar

Not finding the "layers" field in the manifest would be weird. Which version of python/requests/json are you using?
Also, I have checked centos manifest and there is indeed one layer in the "layers" section so it shouldn't fail.
I guess you received an invalid HTTP response somehow.
Could you put this line of code (line 40, before the faulting line) and retry:
print resp.content

Do you receive the manifest or anything else?

from docker-drag.

reddiana avatar reddiana commented on August 17, 2024

Thank you for taking a look.
I tried centos again and embarrassingly the script works well.
Perhaps it was a company proxy issue.
This wonderful script is very helpful to me and my colleagues.
Thank you.

from docker-drag.

NotGlop avatar NotGlop commented on August 17, 2024

Thank you for your feedback. I'm glad to hear it.
Closing the issue.

from docker-drag.

golimarrrr avatar golimarrrr commented on August 17, 2024

I get this same error with https://hub.docker.com/r/nitnelave/lldap
I tried on Cygwin and on Debian12, should the script work with this repository?

from docker-drag.

afkzoro avatar afkzoro commented on August 17, 2024

I also get the same error. Can anyone help?

from docker-drag.

Related Issues (20)

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.