Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node:10-alpine different node version from docs #1097

Closed
dyihoon90 opened this issue Aug 26, 2019 · 5 comments
Closed

node:10-alpine different node version from docs #1097

dyihoon90 opened this issue Aug 26, 2019 · 5 comments
Labels

Comments

@dyihoon90
Copy link

I ran docker pull node:10-alpine and then docker run -it. The node version in the image is v10.15.1. According to the docs the dockerfile should be 10.16.3.

Would someone help look into this? Thank you very much.

@SimenB
Copy link
Member

SimenB commented Aug 26, 2019

$ docker pull node:10-alpine
10-alpine: Pulling from library/node
Digest: sha256:77c898d0da5e7bfb6e05c9a64de136ba4e03889a72f3c298e95df822a38f450d
Status: Downloaded newer image for node:10-alpine
docker.io/library/node:10-alpine
$ docker run -it --rm node:10-alpine node --version
v10.16.3

You probably have an old image cached locally

@SimenB SimenB closed this as completed Aug 26, 2019
@dyihoon90
Copy link
Author

urgh.. what an oversight on my side. Thank you for addressing this @SimenB

@dyihoon90
Copy link
Author

@SimenB we looked into this deeper again today, and it looks to be related to content trust at the Docker hub registry rather than local cache.

With export DOCKER_CONTENT_TRUST=1,
docker pull node:10-alpine node version is v10.15.1, image ID fe6ff768f798

With export DOCKER_CONTENT_TRUST=0,
docker pull node:10-alpine node version is v10.16.3, image ID b95baba1cfdb

$ docker info | grep Registry
Registry: https://index.docker.io/v1/

@nschonni
Copy link
Member

That would be tracked in #1065

@dyihoon90
Copy link
Author

noted, thanks @nschonni

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants