A popular Docker article describes a pattern to initialize stateful container data at runtime. The example uses a Shell script to run the initialization and then pass control to the container’s main command. We can use the same pattern to initialize a Docker Windows container.
Stuart 'Stevie' Leitch on Software Development, Java Technologies, Security and Testing