Giter Site home page Giter Site logo

Comments (2)

NotGlop avatar NotGlop commented on June 30, 2024

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.

NotGlop avatar NotGlop commented on June 30, 2024

This has been finally fixed in commit 5bf5237.
Thanks for the issue.

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.