Comments (6)
Yes! This will work.
VM_NET_DEV will replace (in my case) the standard adapter. For the value, i had to put in "net1" instead of "eth0" you can have a look in the kubernetes history and it will tell you which interface are beeing added. Maybe we should add these info to the truenas installation procedure.
Thanks again for your support!
from windows.
@d22b For the CPU/RAM limits, you just need to add "Container Environment Variables", see https://github.com/dockur/windows#how-do-i-increase-the-amount-of-cpu-or-ram
For the network, you can enable DHCP
variable, and configure the container as seen in these screenshots:
vdsm/virtual-dsm#687 (comment)
and
vdsm/virtual-dsm#687 (comment)
if you follow the steps from that user, it should work!
from windows.
@d22b I am building a new version where it always prefers net1
and net2
over eth0
when they are available, so this step to modify VM_NET_DEV
will not be necessary anymore in this new version. For the other steps, maybe you can place screenshots here to help other people using TrueNAS.
from windows.
Yes, i will do that.
Ultimately i have two issues left: USB & GPU passtrough. I followed (and still not finished) carefully #22 but it seems more tricky especially in truenas, to pass an nvidia gpu to the container. I mean practically it work. Jellyfin, plex etc. all of them are able to consume the gpu. It is a matter of config. But step by step.
Any advises for USB passing by env. variable?
from windows.
https://github.com/dockur/windows#how-do-i-pass-through-a-usb-device
from windows.
No Luck here. I tried to add those parameters to composer.yaml. But the USB Device (CDROM) are not showing up:
services:
windows:
image: windows
container_name: windows
environment:
VERSION: "win11"
RAM_SIZE: "8G"
CPU_CORES: "4"
DHCP: "Y"
ARGUMENTS: "-device usb-host,vendorid=0x174c,productid=0x55aa"
devices:
- /dev/kvm
- /dev/vhost-net
- /dev/bus/usb
device_cgroup_rules:
- 'c : rwm'
cap_add:
- NET_ADMIN
ports:
- 8006:8006
- 3389:3389/tcp
- 3389:3389/udp
stop_grace_period: 2m
from windows.
Related Issues (20)
- [Feature]: It is possible add support GPU? HOT 1
- Not enough RAM? HOT 2
- Win11 download keeps failing HOT 2
- [Question]: KVM could I run this without it HOT 6
- Can only use USB passthru with privileged container HOT 3
- double free or corruption (!prev) HOT 4
- Obtain docker bridge/compose stack IP (not in router subnet) HOT 4
- Unable to self-restart. HOT 5
- Windows XP in Russian language installation issues HOT 8
- The system often freezes when Windows starts, and the CPU reaches 100% after Hyper-V enabled HOT 1
- [Question]: qemu return error while booting windows HOT 2
- [Question]: how to start up the vm after shutdown HOT 3
- [Feature]: Add support for quick installation for Home, Education and other Windows editions. HOT 3
- [Question]: How to increase memory RAM without reinstalling the docker HOT 2
- [Bug]: After Reboot AKS Cluster container removed automatically. HOT 1
- [Feature]: Migrate Existing Windows VM to Container HOT 3
- I installed Windows 7 in Docker on OpenWRT, and the installation was completed successfully. However, Windows 7 cannot connect to the internet. Why? HOT 6
- How to increase memory RAM without reinstalling the docker
- cant change windows version HOT 2
- VM Lag and Screen Resolution Problems HOT 7
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.