[PR #774] Run Docker-OSX directly in powershell #799

Open
opened 2025-12-29 01:25:18 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/sickcodes/Docker-OSX/pull/774
Author: @KernelInterrupt
Created: 5/28/2024
Status: 🔄 Open

Base: masterHead: master


📝 Commits (1)

📊 Changes

1 file changed (+21 additions, -0 deletions)

View changed files

📝 README.md (+21 -0)

📄 Description

Actually, we can simply run Docker-OSX on WSL2 without getting into distros (just using PowerShell),and it fixed issue #430.
Let me explain that:
When using Docker Desktop on windows,it created two speical distros called docker-desktop and docker-desktop-data
In other distros,Wslg is in /mnt/wslg
But in docker-desktop,Wslg is in /mnt/host/wslg
What is worse is that the container actually boot in docker-desktop-data,and then /mnt in docker-desktop was mounted to /run/desktop in docker-desktop-data.
Therefore,we actually need to mount /run/desktop/mnt/host/wslg/.X11-unix to /tmp/.X11-unix to get video output.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/sickcodes/Docker-OSX/pull/774 **Author:** [@KernelInterrupt](https://github.com/KernelInterrupt) **Created:** 5/28/2024 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`18310cc`](https://github.com/sickcodes/Docker-OSX/commit/18310cca378b9945f05c65c77724a885826fffff) Update README.md ### 📊 Changes **1 file changed** (+21 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+21 -0) </details> ### 📄 Description Actually, we can simply run Docker-OSX on WSL2 without getting into distros (just using PowerShell),and it fixed issue #430. Let me explain that: When using Docker Desktop on windows,it created two speical distros called `docker-desktop` and `docker-desktop-data` In other distros,Wslg is in `/mnt/wslg` But in `docker-desktop`,Wslg is in `/mnt/host/wslg` What is worse is that the container actually boot in `docker-desktop-data`,and then `/mnt` in `docker-desktop` was mounted to `/run/desktop` in `docker-desktop-data`. Therefore,we actually need to mount `/run/desktop/mnt/host/wslg/.X11-unix` to `/tmp/.X11-unix` to get video output. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 01:25:18 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#799