GithubHelp home page GithubHelp logo

Comments (6)

d22b avatar d22b commented on June 18, 2024 1

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.

kroese avatar kroese commented on June 18, 2024

@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.

kroese avatar kroese commented on June 18, 2024

@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.

d22b avatar d22b commented on June 18, 2024

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.

kroese avatar kroese commented on June 18, 2024

https://github.com/dockur/windows#how-do-i-pass-through-a-usb-device

from windows.

d22b avatar d22b commented on June 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.