Creating a Docker image from a WSL instance

At some point, it may be necessary to publish the current state of a Windows Subsystem for Linux distribution to a wider audience. A WSL instance can be exported into a tar file, a Docker image can be created by importing a tar file. Then the image could be publicly made available to any host system running Docker. Let's see if it's that easy.