Comments (2)
Can you try it again ? I have just updated the script to add verbosity when failing to download a layer.
This may confirm what I think is the issue.
I believe you have received a bad HTTP response as I see the log in your post:
70de4b41273e: Pull complete [171]
This layer is not 171 bytes, as you can see from the manifest:
{
"mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
"size": 96304898,
"digest": "sha256:70de4b41273ea30a20371fc037ab520f9040ba3890111a5b19d0b15f0c46e2c0"
},
However, I think I know what may be the issue: since it is a big image, if you have a slow connection, your session may timeout while you download your image (have a look at the Content-Length: 171):
HTTP/1.1 401 Unauthorized
Content-Type: application/json; charset=utf-8
Docker-Distribution-Api-Version: registry/2.0
Www-Authenticate: Bearer realm="https://auth.docker.io/token",service="registry.docker.io",scope="repository:jupyter/datascience-notebook:pull",error="invalid_token"
Date: Wed, 19 Jun 2019 16:11:57 GMT
Content-Length: 171
Connection: close
Strict-Transport-Security: max-age=31536000
{"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":[{"Type":"repository","Class":"","Name":"jupyter/datascience-notebook","Action":"pull"}]}]}
I will try to propose a fix (by renewing the session when it times out).
from docker-drag.
This has been finally fixed in commit 5bf5237.
Thanks for the issue.
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 2
- 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.