Score:0

What is the difference between "Apply image" and "From" when generating a windows docker image?

cn flag

Recently I have been examining the manifests of images on docker hub to verify the base image matches my hosts. I have noticed a large number of manifests (e.g. https://hub.docker.com/layers/rancher/configmap-reload/v0.3.0-rancher4-windows-1809/images/sha256-c192eb4dea0c6e5817757f21e0b393b23d864c69cb2e3b9e5d2c6c17307dece1?context=explore) start with "Apply image" (e.g "Apply image 20H2-amd64") versus the documented FROM (e.g. "FROM mcr.microsoft.com/windows:20H2").

"Apply image" appears nowhere in the documentation for dockerfiles (https://docs.docker.com/engine/reference/builder/) and I've not been able to find anything with a google search (the term is too generic).

As best I can guess, this is a new feature for Windows containers that allows direct referencing of the OS versus the full registry path from Microsoft. However it seems strange that this is not documented by Docker.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.