Sign inSign up

cpswan/testver

By cpswan

Updated almost 11 years ago

Image for testing version management between local system and Docker Hub

Image
0

1.6K

cpswan/testver repository overview

testver

What happens when I update something on Docker Hub?

This is a trivial Dockerfile to test out the linkage between a local registry and Docker Hub.

sudo docker run -it cpswan/testver will pull down the :latest version from Docker Hub when it is first run.

Next time I run sudo docker run -it cpswan/testver (or even cpswan/testver:latest) docker will look in my local registry and find the image there.

If Docker Hub has been updated with a newer version then I have to explicitly sudo docker pull cpswan/testver in order to get it.

Tag summary

Content type

Image

Digest

sha256:5ada18a71

Size

75.9 MB

Last updated

almost 11 years ago

docker pull cpswan/testver