$imagename = Read-Host -Prompt 'Container image to initialize: ' $command = ("docker run -d " + "-v /tmp/.X11-unix:/tmp/.X11-unix " + "-v /mnt/wslg:/mnt/wsl " + "-e WAYLAND_DISPLAY=`$WAYLAND_DISPLAY " + "-e DISPLAY=`$DISPLAY " + "-e XDG_RUNTIME_DIR=/mnt/wslg " + $imagename) wsl bash -ic $command