![]() ![]() For more information, see Docker Desktop for Linux. Portainers hybrid & multi-cloud container management platform supports Kubernetes, Docker, Swarm in any Data Center, Cloud, Network Edge or IIoT Device. ![]() We are excited to share that Docker Desktop for Linux is now GA. To be clear, I have not checked if audio is functional or not, but this does allow you to avoid the installation of another X11 server if you already have WSL2 installed. Docker Desktop helps you build, share, and run containers easily on Mac and Windows as you do on Linux. e XDG_RUNTIME_DIR=/mnt/wslg/runtime-dir ` v /run/desktop/mnt/host/wslg:/mnt/wslg ` Therefore, modifying chrillof's solution using PowerShell from the host, it looks more like: docker run -it -v /run/desktop/mnt/host/wslg/.X11-unix:/tmp/.X11-unix ` Note: If you are on a Linux system, you might need to add sudo before the command or add your user to the docker group. You will not be able to flash ESP devices through USB on Mac, all other features will work. I found this GitHub issue where someone had to manually set environment variables which allowed me to connect the dots between what others experience directly on WSL2 and chrillof's solution If youre familiar with Docker, you can use that instead. ![]() There are no baked-in environment variables to assist you, so you need to specify the environment variables explicitly with these folders in mind.This folder is actually found in the /mnt/host/wslg/.X11-unix folder on the docker-desktop distribution which translates to /run/desktop/mnt/host/wslg/.X11-unix when running containers. docker-desktop-data WSL2 distribution) does not have a /tmp/.X11-unix itself. The critical things here for Docker Desktop users on Windows with WSL2 are that: This answer is heavily based on what chrillof has said. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |