mirror of
				https://github.com/dockur/windows.git
				synced 2025-10-31 04:32:39 +00:00 
			
		
		
		
	Compare commits
	
		
			No commits in common. "d570eca629484fb997445de0c60c41702dacb3c6" and "e2be4f6d0c289b095ad517d058b1a7edaba75b62" have entirely different histories.
		
	
	
		
			d570eca629
			...
			e2be4f6d0c
		
	
		
							
								
								
									
										30
									
								
								readme.md
									
									
									
									
									
								
							
							
						
						
									
										30
									
								
								readme.md
									
									
									
									
									
								
							| @ -66,6 +66,17 @@ kubectl apply -f https://raw.githubusercontent.com/dockur/windows/refs/heads/mas | ||||
| 
 | ||||
| [`Click here to launch this container in the cloud!`](https://github.com/codespaces/new?skip_quickstart=true&machine=basicLinux32gb&repo=743140652&ref=master&devcontainer_path=.devcontainer.json) | ||||
| 
 | ||||
| ## Compatibility ⚙️ | ||||
| 
 | ||||
| | **Product**  | **Platform**   | | | ||||
| |---|---|---| | ||||
| | Docker Engine     | Linux| ✅ | | ||||
| | Docker Desktop    | Linux | ❌ | | ||||
| | Docker Desktop    | macOS | ❌ | | ||||
| | Docker Desktop    | Windows 11 | ✅ | | ||||
| | Docker Desktop    | Windows 10 | ❌ | | ||||
| | Github Codespaces | Cloud      | ✅ | | ||||
| 
 | ||||
| ## FAQ 💬 | ||||
| 
 | ||||
| ### How do I use it? | ||||
| @ -363,16 +374,9 @@ kubectl apply -f https://raw.githubusercontent.com/dockur/windows/refs/heads/mas | ||||
| 
 | ||||
| ### How do I verify if my system supports KVM? | ||||
| 
 | ||||
|   First check if your software is compatible using this chart: | ||||
| 
 | ||||
|   | **Product**  | **Linux** | **Win11** | **Win10** | **macOS** | | ||||
|   |---|---|---|---|---| | ||||
|   | Docker CLI        | ✅   | ✅       | ❌        | ❌ | | ||||
|   | Docker Desktop    | ❌   | ✅       | ❌        | ❌ |  | ||||
|   | Podman CLI        | ✅   | ✅       | ❌        | ❌ |  | ||||
|   | Podman Desktop    | ✅   | ✅       | ❌        | ❌ |  | ||||
| 
 | ||||
|   After that you can run the following commands in Linux to check your system: | ||||
|   Only Linux and Windows 11 support KVM virtualization, macOS and Windows 10 do not unfortunately. | ||||
|    | ||||
|   You can run the following commands in Linux to check your system: | ||||
| 
 | ||||
|   ```bash | ||||
|   sudo apt install cpu-checker | ||||
| @ -387,7 +391,11 @@ kubectl apply -f https://raw.githubusercontent.com/dockur/windows/refs/heads/mas | ||||
| 
 | ||||
|   - you are not using a cloud provider, as most of them do not allow nested virtualization for their VPS's. | ||||
| 
 | ||||
|   If you did not receive any error from `kvm-ok` but the container still complains about a missing KVM device, it could help to add `privileged: true` to your compose file (or `sudo` to your `docker` command) to rule out any permission issue. | ||||
|   If you do not receive any error from `kvm-ok` but the container still complains about KVM, please check whether: | ||||
| 
 | ||||
|   - you are not using "Docker Desktop for Linux" as it does not support KVM, instead make use of Docker Engine directly. | ||||
|   | ||||
|   - it could help to add `privileged: true` to your compose file (or `sudo` to your `docker run` command), to rule out any permission issue. | ||||
| 
 | ||||
| ### How do I run macOS in a container? | ||||
| 
 | ||||
|  | ||||
| @ -581,10 +581,6 @@ detectImage() { | ||||
|   info "Detected: $desc" | ||||
|   setXML "" && return 0 | ||||
| 
 | ||||
|   if [[ "$DETECTED" == "win81x86"* ]] || [[ "$DETECTED" == "win10x86"* ]]; then | ||||
|     error "The 32-bit version of $desc is not supported!" && return 1 | ||||
|   fi | ||||
| 
 | ||||
|   msg="the answer file for $desc was not found ($DETECTED.xml)" | ||||
|   local fallback="/run/assets/${DETECTED%%-*}.xml" | ||||
| 
 | ||||
| @ -730,11 +726,7 @@ addDriver() { | ||||
| 
 | ||||
|   if [ -z "$folder" ]; then | ||||
|     desc=$(printVersion "$id" "$id") | ||||
|     if [[ "${id,,}" != *"x86"* ]]; then | ||||
|       warn "no \"$driver\" driver available for \"$desc\" !" && return 0 | ||||
|     else | ||||
|       warn "no \"$driver\" driver available for the 32-bit version of \"$desc\" !" && return 0 | ||||
|     fi | ||||
|     warn "no \"$driver\" driver available for \"$desc\" !" && return 0 | ||||
|   fi | ||||
| 
 | ||||
|   [ ! -d "$path/$driver/$folder" ] && return 0 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user