Running QTS 5.2.4.xxxx and Container Station 3.0.9.1038
Is it possible to enable IPv6 and USB access for Docker Containers?
OR is this a limitation of the QNAP NAS ?
Running QTS 5.2.4.xxxx and Container Station 3.0.9.1038
Is it possible to enable IPv6 and USB access for Docker Containers?
OR is this a limitation of the QNAP NAS ?
To use IPv6, you could set up your container to use host network or bridge it to a physical interface. The built-in NAT network doesn’t seem to support IPv6.
The containers are set to use host network which has IPv6 enabled and with address, however Container Station has IPv6 disabled andit seems impossible to enable.
If container is set to use host network mode, it will be able to use IPv6 network as long as the host can use IPv6. The process in container will act like a process outside the container, using the same IP address. There’s nothing to enable. If it’s not working, maybe check your firewall.
Thanks - unfortunately, even with using the host network mode the docker container only utilises IPv4.
I had prior to posting checked firewall and even disabled as all on internal network.
Have created a new virtual network rather than the default Container Station one and testing again.
USB Access
I have a usb Z-Stick and can see it is recognised by the NAS - what I am failing to achieve is getting the device accessible
Following a number of guides I’ve run
‘insmod /usr/local/modules/cp210x.ko’ and similar BUT for each I get returned error “insmod: can’t insert … Operation not permitted”
If the files are already present, is there a different command to run to load the modules so I can see and access the device ‘/dev/ttyUSBx’
It appears this should be possible unless over the last 6 months (most recent post) something has changed ?
Did you set up IPv6 correctly on the host interface? Recent versions of QTS disables IPv6 by default due to security issue. You need to enable it manually in the “network and virtual switch” and ensure the host has an IPv6 address.
I just created an ubuntu container and it is accessing IPv6 Internet correctly. See screenshot from the container console:
Install iproute2 and run ip a
from the container, you’ll see the exact same list of interfaces as the NAS itself if the container is running in host network mode.
For the USB kernel module. I suggest checking:
Thanks for your pointers.
I should have realised that the administrator has different levels and Owner/Administrator is not the same as root/Administrator.
Progress made in getting the .ko files loaded BUT what I’m not seeing is Z-Stick 7 recognised as a serial USB device, the nearest I’ve come to finding solution is
Configuring USB device pass through to Docker on QNAP NASes – Made by Mikal but my limited linux knowledge isn’t helping.