Code Monkey home page Code Monkey logo

Comments (3)

thaJeztah avatar thaJeztah commented on June 2, 2024 1

docker/dockerfile:1 is synonym for 1.x so should always give the latest version of the dockerfile syntax (currently 1.7.0) 🤔

Looks like docker/dockerfile:1 is not yet updated to 1.7, but still on 1.6, but still should not be 1.3 🤔 So I somewhat wonder indeed if the mirror is serving outdated versions.

from moby.

thaJeztah avatar thaJeztah commented on June 2, 2024

docker/dockerfile:1 is synonym for 1.x so should always give the latest version of the dockerfile syntax (currently 1.7.0) 🤔

I do see you have a mirror configured for docker hub; https://5p2mkxep.mirror.aliyuncs.com/ wondering if that mirror is out of date 🤔

Looking at the version that's pulled in your case, that looks to be v1.3.1;

docker run --rm docker/dockerfile@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 --version
Unable to find image 'docker/dockerfile@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2' locally
docker.io/docker/dockerfile@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2: Pulling from docker/dockerfile
bcf72e19a205: Download complete
Digest: sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2
Status: Downloaded newer image for docker/dockerfile@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2
/bin/dockerfile-frontend github.com/moby/buildkit/frontend/dockerfile/cmd/dockerfile-frontend dockerfile/1.3.1 966bcf4aa3ef397a9d6025fade18f2d59a5bf29d

Pulling the latest docker/dockerfile:1 from docker hub;

docker run --rm docker/dockerfile:1 --version
Unable to find image 'docker/dockerfile:1' locally
1: Pulling from docker/dockerfile
Digest: sha256:ac85f380a63b13dfcefa89046420e1781752bab202122f8f50032edf31be0021
Status: Downloaded newer image for docker/dockerfile:1
/bin/dockerfile-frontend github.com/moby/buildkit/frontend/dockerfile/cmd/dockerfile-frontend dockerfile/1.6.0 18fc875d9bfd6e065cd8211abc639434ba65aa56

from moby.

IAmOWh avatar IAmOWh commented on June 2, 2024

Thank you very much for your reply! I'll have a check on the mirror.

from moby.

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.