Comments (5)
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.
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.
Thank you for your feedback. I'm glad to hear it.
Closing the issue.
from docker-drag.
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.
I also get the same error. Can anyone help?
from docker-drag.
Related Issues (20)
- Big files(e. g. gitlab/gitlab-ce:12.3.7-ce.0) aren't supported HOT 2
- How to change images source? HOT 1
- A slight detail
- Windows not supported HOT 2
- KeyError: 'content-length' HOT 2
- Use with authorization needed registry HOT 2
- Fake layer ids HOT 1
- docker login question HOT 1
- repository full name is not reserved HOT 5
- UNAUTHORIZED, authentication required, when running against a private image HOT 2
- Failed to rerun this script when the first running interrupted by a network problem HOT 4
- How to install downloaded images to docker? HOT 1
- very useful, thank you
- How `docker` calculates the layer ids
- Can't find velero's docker image HOT 2
- Cannot fetch manifest HOT 2
- [Feature Request] Update documentation to provide a sample for how to use the container after downloading it. HOT 1
- Cannot pull OCI images - KeyError: 'layers' HOT 4
- Please add opensource license HOT 2
- Downloading container image from Azure Container Registry HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-drag.