Hi,
Iāll reply here with what I was about to say on the issue tracker.
I would need clarification about those imprecisions first. But rather than having a meta discussion, letās just fix the source quickly and efficiently.
The clarifications are part of the meta discussion that is necessary to ājust fix the source quicklyā.
Before looking into the questions, let me preface that the manner in which the issues were opened, one issue per line, with context-less questions seem, to my eyes, a bit rude. Though I can see how one might disagree with that.
It would have been better to open one issue with all problems about this section of the documentation combined, considering three of the six are, AFAIK, answered by the same answer. Or even better, start with the questions here, on the Discourse, where support questions are better suited.
Now continuing with some answers. The manuals are reference manuals, so they are written with keeping in mind that the reader has familiarity and knowledge with the material external to the topic. E.g. familiarity with Docker, its tooling, virtualization, and more importantly, familiarity with Nix and the other parts its ecosystem.
Another of the problem seems to stem from lack of familiarity with the Nix ecosystem. The word result
within the ecosystem heavily implies the result of building a derivation. Often literally the result
symlink from a nix-build
. As for a closure, the result of the build of a derivation, and all of the paths it depends on is a closure. (Strangely, the term seems to not be defined in the Nix manual. Though, it wouldnāt be something that is defined in the dockerTools documentation.)
Now, about the kvm
device? Itās the kvm
device, as provided by the kernel, when hardware virtualization is enabled, more often than not named /dev/kvm
⦠There is some implied background knowledge about /dev/kvm
and Nix.
Finally, the three questions that refer to layers, I guess here docker knowledge helps, but really some background details on the implementation should help. Though I wonder if the documentation could help explain better how the layers end up being built.
Finally, I donāt want to sound rude, or to accidentally act as a gatekeeper by saying āget goodā, or anything of the sort. What I want to be understood is that there is a place to ask questions, and here, on the Discourse, is the proper place.
Keep on learning about Nix, Nixpkgs and NixOS, it all is worth it in the end, in case you still had doubts!