Comments (15)
May I know where to add KVM=N
?
from windows-arm.
Thank you, that works.
from windows-arm.
You mean Oracle Cloud Ampere A1 server? It will not be possible to enable KVM because Oracle does not allow that on VPS. Almost no cloud provider does allow KVM.
from windows-arm.
Seems like you to install some kernel module, but if you mean by server a cloud server, then its likely your provider disabled KVM.
You can still run the container by adding KVM=N
variable to your compose/run command. But it will run much more slowly without hardware acceleration for the CPU.
from windows-arm.
-e "KVM=N"
from windows-arm.
root@warm2:~/Warm# docker-compose up -d --e "KVM=N"
WARNING: using --exit-code-from implies --abort-on-container-exit
ERROR: No service named "KVM=N" was found in your compose file.
ERROR: 2
root@warm2:~/Warm# docker-compose up -d --e KVM=N
WARNING: using --exit-code-from implies --abort-on-container-exit
ERROR: No service named "KVM=N" was found in your compose file.
ERROR: 2
from windows-arm.
version: "3"
services:
windows:
image: dockurr/windows-arm
container_name: windows
devices:
- /dev/kvm
cap_add:
- NET_ADMIN
ports:
- 8006:8006
- 3389:3389/tcp
- 3389:3389/udp
environment:
VERSION: "win11"
RAM_SIZE: "8G"
CPU_CORES: "4"
DISK_SIZE: "160G"
stop_grace_period: 2m
restart: on-failure
from windows-arm.
You said "Docker commandline" before, so I thought u were using the run command not a compose file. If you have a compose file you must add:
environment:
KVM: "N"
to it instead.
from windows-arm.
Sorry about that…
from windows-arm.
root@warm2:~/Warm# docker-compose up -d
Removing windows
Recreating 2fafd7f8d605_windows ... error
ERROR: for 2fafd7f8d605_windows Cannot start service windows: error gathering device information while adding custom device "/dev/kvm": no such file or directory
ERROR: for windows Cannot start service windows: error gathering device information while adding custom device "/dev/kvm": no such file or directory
ERROR: Encountered errors while bringing up the project.
from windows-arm.
Remove
devices:
- /dev/kvm
from windows-arm.
Without KVM it will run at 10% of the speed, so it will be so slow that its not usable. The only real solution is to find out why your server does not have KVM.
from windows-arm.
My server is ORACLE ARM VPS.
from windows-arm.
Can I "install" KVM to it?
from windows-arm.
All right... Thanks.
from windows-arm.
Related Issues (20)
- Bug report HOT 3
- [Bug]: Error on Asahi Linux ERROR: TUN device missing. HOT 3
- [Question]: KVM acceleration not available (device file missing) HOT 1
- When I use the quick start command it downloads the necessary packages and extracts them and then it gives me this error HOT 1
- Installing issue HOT 2
- qemu: qemu_thread_create: Operation not permitted HOT 2
- Docker maclvn network HOT 3
- Cant running on RK3399 Board with Error "kvm_arm_vcpu_init failed: Invalid argument" HOT 4
- Failed Download HOT 2
- Raspberry Pi 5 HOT 4
- Error QEMU HOT 17
- no such file: /dev/kvm HOT 3
- Version winxp HOT 4
- Doesn't run on OracleCloud ARM? HOT 1
- How I fix this problem on my k8s? HOT 2
- lost connection, can you help me..? HOT 4
- ERROR: Failed to create bridge. Please add the following setting to your container: --cap-add NET_ADMIN HOT 2
- [Question]: how to run this on M1 pro HOT 1
- [Bug]: awk error when trying to start 1.14 HOT 3
- [Bug]: Timeout while waiting for QEMU to boot the machine 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-arm.