Is the implementation of pulumi-docker considered idiomatic / "correct"? Specifically, that the resource constructors do actual work, including building images? In cloud-centric packages, all work is done in providers, once the Pulumi engine is called. But for Pulumi docker, work is being done in our Pulumi code, before the engine gets involved.
As it currently stands, it's not possible to write unit tests with these resources.