![]() ![]() For example, at the time of writing, latest, buster, 10, and 10.8 all point to the same image. Multiple tags can point to the same image. ![]() Whenever a pull or build command is issued, the Docker client checks which image the buster tag currently points to and downloads it (if it isn't already cached locally). Sending build context to Docker daemon 2.048kB $ docker build -f Dockerfile-hello-world. Or similarly in the FROM line of in Dockerfiles: $ cat Dockerfile-hello-world They make it easy to pull and run images, and for image authors to roll out updates automatically.įor example, to pull the latest Debian GNU/Linux image for the buster release: $ docker pull debian:buster How Docker Image Tags workĭocker tags are mutable named references to Docker images, much like branch refs in Git. In this article, we explore how Docker tags work, the risks and benefits of using them, and a mechanism for pinning to specific digests to bring us closer to reproducible builds.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |