Since it comes from the registry, it's a fresh copy without any modifications. On machine B, run the following command and replace with the digest from machine A: docker pull is an example how it could look: docker pull will download the same version that is available on machine A to machine B. Look for FOO/BAR and its digest (starting with sha:). On machine A, run docker images -digests. This is often the case when using build numbers or Git hashes as tags, but if you want to be absolutely sure, use the digest. You can find duplicate images using three different filters: (1) Strict (will return almost identical results - the image is the same or slightly different), (2) Basic and (3) Loose (with much more differences). You can only use the tag if you know that it is unique and not reused. VisiPics is a tiny, free application for Windows that will search for duplicate photos. But you can always be more specific.Īssuming the image comes from a registry FOO and is called BAR, there are two ways how you can pull the same version of the image: either by tag or by digest. When specifying neither a tag or a digest, all Docker commands assume that you want to use the default tag latest. Docker uses a tag or digest to distinguish between different versions of an image.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |