Giter VIP home page Giter VIP logo

Comments (1)

jperrin avatar jperrin commented on June 6, 2024

This appears to be a caching issue on the docker side. You can see from https://github.com/docker-library/official-images/blob/master/library/centos that the hashes for 7, and latest are the same, and so a pull should fetch the same images. I also saw what you did,

info: Success!
[jperrin@lappy ~]$ docker run -ti centos:7 /bin/bash
Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.
[root@2067d7e9a515 /]# cat /etc/redhat-release 
CentOS release 6.7 (Final)

However a docker pull centos:7 claims an update, though nothing new was downloaded. This means it used an existing layer I already had ( centos:latest)

[jperrin@lappy ~]$ docker pull centos:7
7: Pulling from docker.io/centos
47d44cb6f252: Already exists 
f6f39725d938: Already exists 
f9a8cbc8dd13: Already exists 
f37e6a610a37: Already exists 
0f73ae75014f: Already exists 
docker.io/centos:7: The image you are pulling has been verified. Important: image verification is a tech preview feature and should not be relied on to provide security.
Digest: sha256:c28c6a9260a3d82609c20f27c6654f3a1e80f167392021386c7f33901a27d08d
Status: Downloaded newer image for docker.io/centos:7

Following that update, it works now

[jperrin@lappy ~]$ docker run -ti centos:7 /bin/bash
Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.
[root@f2155964b30c /]# cat /etc/centos-release
CentOS Linux release 7.1.1503 (Core) 

In short, do a fresh pull and the problem should go away, however this does raise an interesting issue to keep an eye on with docker....

from centos-dockerfiles.

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.