Comments (22)
using portainer I deleted the container and the image, and then I removed the parameter that deletes the container after shutdown (--rm) and removed -it and added the ram parameter as 1gb (as my system would work better) and tested Firstly in XP it worked
from windows.
Mmhh.. interesting! I just tried it and I cannot reproduce this. Both our ESD files 4.54G so I am pretty sure Microsoft is serving us the same file.
Are you sure you didnt press any key by accident? Because I see this strange line 3353 Killed wimlib-imagex
so if you press CTRL+C for example it will kill the extraction process and it is logical that it fails.
from windows.
Okay after some experimenting I see that it doesnt get killed by a keypress, so I am pretty sure the extraction gets killed because the process runs out of RAM on your machine.
Is it possible that you are low on memory?
from windows.
I will investigate, please don't close my issue
and the arm version returned this for me:
root@Lost:/home/lost# docker run -it --rm -p 8006:8006 --device=/dev/kvm --cap-add NET_ADMIN --stop-timeout 120 dockurr/windows-arm
Unable to find image 'dockurr/windows-arm:latest' locally
latest: Pulling from dockurr/windows-arm
d8262e50bff0: Pull complete
5f9aee76f191: Pull complete
2df91a0534ce: Pull complete
680913de3157: Pull complete
80057ec7d929: Pull complete
e63aa8673fa5: Pull complete
0bf25f7fa3ba: Pull complete
95624becc3ce: Pull complete
Digest: sha256:fbf2e68b1f50ead09877bc4bfdb13ae4394bf0a55a09d481ca1028ab91d10d88
Status: Downloaded newer image for dockurr/windows-arm:latest
❯ Starting Windows for Docker v1.07...
❯ For support visit https://github.com/dockur/windows-arm
❯ Downloading product information from Microsoft...
❯ Downloading Windows 11 for ARM...
/storage/tmp/win11arm64.esd 100%[=================================================================>] 4.88G 11.9MB/s in 7m 3s
❯ Extracting Windows 11 for ARM bootdisk...
❯ Extracting Windows 11 for ARM environment...
❯ Extracting Windows 11 for ARM setup...
❯ Extracting Windows 11 for ARM image...
❯ Adding XML file for automatic installation...
❯ Building Windows 11 for ARM image...
❯ Creating a 64G growable disk image in raw format...
❯ Booting Windows using QEMU emulator version 8.2.1 ...
❯ ERROR: qemu-system-aarch64: cannot set up guest memory 'mach-virt.ram': Cannot allocate memory
from windows.
Yes also the ARM version complains about not being able to allocate RAM. So it really looks like there is a problem for Docker to have enough memory on your device. How much RAM do you have?
from windows.
I have 4 gigs but I've already run vm through virtual box on this pc with this configuration ;-;
from windows.
and my cpu arch is x86_64
from windows.
If your CPU is x86 then you should not run the ARM version of Windows because its not for x86 CPU's.
You can lower the amount of RAM in the compose file by setting
environment:
RAM_SIZE: "2G"
for example. But this only lowers the RAM for Windows, and you already have RAM shortage while extracting the ESD file, so it will not help in your case Im afraid.
from windows.
how can I add this to the docker command? (i use ubuntu)
from windows.
If I have 8GB of RAM, would it run the same if I limited the container to 2 or 4GB?
from windows.
By adding:
-e "RAM_SIZE=2G"
to the run command. But this is the RAM that Windows is allowed to use, but you already have the problem before Windows even starts, so it will not help your case.
The only workaround for you would be to download the ISO manually and save it as custom.iso
in the /storage
folder so it does not need to extract ESD files. And then start Windows with 2GB of RAM, but it will not be a good experience as Windows 11 expects a better system.
I think it was better that you choose Windows 7 for example.
from windows.
how i can use the windows 7?
from windows.
https://github.com/dockur/windows#how-do-i-select-the-windows-version
An alternative would be to choose core11
or tiny11
because those are Windows 11 versions that require less RAM because of less bloatware.
from windows.
from windows.
The error even occurred with XP
from windows.
But you did not change the amount of RAM in the run command, and by default its 4GB which is impossible on your system as it has 4GB in total.
from windows.
i can use -e "RAM_SIZE=2G" ?
from windows.
Yes or 1G for 1GB
from windows.
it booted (from vnc) and soon after it disconnected
from windows.
Without posting your run command + the log it will be impossible to tell what happened, I can see only 1 line in the screenshot.
from windows.
The next line was my next command where I had started the container, but I already solved the problem, congratulations on the project my friend <3
from windows.
If you could explain what you did to solve it then other people reading this issue in the future could learn from that.
from windows.
Related Issues (20)
- Can this container boot Windows 11 (with virtio drivers installed) installed on a physical disk (e.g. /dev/mmcblk1)? HOT 7
- [Bug]: Typo in README.md on line 159 (/storage/shared) HOT 2
- [Feature]: Add a way to bypass RAM check for systems with ZFS HOT 7
- [Question]: Any Tutorials for installing this on Truenas via Docker/ Kubernetes? HOT 5
- [Question]: ERROR: You are using Docker Desktop for Windows which does not support macvlan, please revert to bridge networking! HOT 16
- docker: invalid reference format. HOT 2
- [Feature]: Separated/Dedicated interfaces for VNC & VM HOT 6
- ERROR: Timeout while waiting for QEMU to boot the machine! HOT 16
- How can I run multiple containers at the same time HOT 6
- [Question]: I have two questions..!! HOT 8
- [Question]: commiting changes HOT 2
- Forcefully terminating Windows, reason: 0.. HOT 5
- [Question]: Is it possible to boot pre nt windows HOT 4
- [Issue]: Can't login into windows HOT 10
- RDP port already in use HOT 2
- [Question]: Truenas Network support/ limitations HOT 6
- Keyboard layout issue HOT 2
- WSL2 RDP Container IP HOT 2
- Unable to connect to server HOT 4
- [Feature]: What about support for Windows Nano Server or Windows Server Core HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windows.