Today a short blog post about a Visual Studio Code extension I created a week ago. VSCode, as you might know, is a very popular code editor created and maintained by Microsoft and available for Windows, Linux, and macOS. This extension implements a Paste Special function to paste clipboard content in different available formats.
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.
The Windows May 2019 update brought the new Sandbox feature. It can be used as a safe browsing environment without the risk of affecting the base Windows installation with malware of any kind. We will create a host installation of a Web browser with a persistent configuration, which is mirrored into the virtualized environment of the Sandbox whenever needed.
The Windows 10 May 2019 Update now supports raw image previews and showing metadata in the Photos app or Windows File Explorer by installing the "Raw Image Extension" app from the Microsoft Store.
If you want to use Docker under Windows and the new Windows Sandbox feature, you have to enable Hyper-V support. The problem is: You cannot run VMware Workstation or VirtualBox and Hyper-V at the same time. This can easily be fixed by creating two boot configurations, where one has Hyper-V enabled and one has not.
Since the Windows 10 Fall Creators Update from 2017, the Windows Subsystem for Linux (WSL) is a fully supported Windows feature. In case you don't already know about that feature: WSL is a compatibility layer which allows running 64 bit Linux binary executables (in ELF format) natively on Windows 10 and Windows Server 2019 in a console window. It uses much fewer resources than a fully virtualized machine.