docker vscode Dockerfile with more security over X-11 without requiring --net=host and or --privileged. In this quick guide we go over the pitfalls of attempting to get vscode to work inside a docker container over the X-11 session which is preferred over vnc and other options such as xhost+