News for hackers. Stuff that matters.
Re:Docker Is Four Things by turboponyy on Thursday August 31, 2023 @10:55AM (#37338150)
The function name is misleading you into thinking that it is imperative. In reality, the function just returns a path to a file in the Nix store with the specified contents. The derivation then returns a container in which Nginx is pointed to that same config file. Nothing is temporal or happening in any particular order - you declare some inputs, and you get some outputs (a Docker container, in this case).

There are no comments on this comment yet.