Comments (2)
@kroese not sure if i can comment on a closed thread but do these arguments need to be put on installation only? For example, if i have a windows container and then put it, would it fail? I have a windows container already and tried both but I get these errors
My docker-compose:
version: "3"
services:
windows:
image: dockurr/windows
container_name: windows
environment:
VERSION: "winxp"
ARGUMENTS: "-device ich9-intel-hda -device hda-output"
devices:
- /dev/kvm
cap_add:
- NET_ADMIN
ports:
- 8006:8006
- 3389:3389/tcp
- 3389:3389/udp
stop_grace_period: 2m
restart: on-failure
from windows.
Instead of an XML config, you can use the ARGUMENTS
variable to add configuration. For a sound device you can try this:
environment:
ARGUMENTS: "-device ich9-intel-hda -device hda-output"
Or else
environment:
ARGUMENTS: "-device usb-audio"
The reason why I didnt add it by default is that without any audio device I have working sound via Microsoft RDP on Android. But as soon as I add a soundcard like above, for some strange reason I do not have sound in RDP anymore.
So another solution is to use Microsoft RDP instead of Teamviewer, because it has working sound even without audio device.
from windows.
Related Issues (20)
- [Bug]: Failed to resolv servers HOT 4
- Macbook support [Question]: HOT 1
- [Question]: How to not use decited ip for continer? HOT 10
- [Question]: add qemu-img as data disk? HOT 4
- [Question]: Not support USB device hotplug? HOT 1
- [Question]: Sharing disk volumes HOT 2
- [Question]: NO device HOT 10
- [Question]: How setting KVM=N with docker compose? HOT 3
- [Bug]: win7 failed cd-rom HOT 9
- [Question]: win7 failed cd-rom HOT 1
- [Bug]: Docker run defaults to win11 changed to win7 HOT 2
- [Feature]: Implement snapshot support HOT 3
- [Question]: DHCP Not Working HOT 1
- [Bug]: Booting forever on a Synology HOT 3
- [Question]: 修改windos密码 和 使用自定义的镜像无法使用rdp远程 HOT 18
- [Question]: What would be impacted if we turned off the need for privileged containers HOT 10
- [Question]: Does it use the linux kernel of the host OS? HOT 2
- [Question]: Connect to ssh HOT 1
- [Bug]: compose.yml: "version" is obsolete..!! HOT 9
- [Question]: How do I specify an IP to Windows? HOT 5
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.