Coming from Trouble with MicroPython Sandbox setup, we are looking into how to shift the Unix-based toolchain into a Docker container. The main obstacle here is how to gain access to the UART port the device is connected to.
Currently, this idea will only work on Docker for Linux.
Docker for Windows and macOS don’t provide capabilities for privileged access of UART devices on the host machine within containers.
State of the onion
Others are looking at similar things (2018):