hello
i am quite struggling using vhclient over docker
tried on arm64v8 and on mac os
failing with this error
VirtualHere Client:
VirtualHere Client: VirtualHere Client 4.6.7 starting (Compiled: Feb 23 2019 11:05:42)
VirtualHere Client: Client OS is Linux 4.19.76-linuxkit x86_64
VirtualHere Client: Using config at /root/.vhui
modprobe: can't change directory to '/lib/modules': No such file or directory
init_module error inserting 'usbip-core.ko': -1 Invalid module format. Your kernel probably was not compiled with dynamic module loading functionality
VirtualHere Client: init_module error inserting 'usbip-core.ko': -1 No error information. Your kernel probably was not compiled with dynamic module loading functionality
VirtualHere Client:
any idea?
.
I gave it a test just then and it didnt work , it used to work using https://hub.docker.com/r/virtualhere/virtualhere-client
I think you need to switch to linux-virtual now instead of alpine. Seems alpine might have dynamic modules disabled or something im not sure. (Alpine seems to have MODULES=y in the kernel config but nothing in /lib/modules)
https://unix.stackexchange.com/a/420306
Hi~ I have the same problem
Hi~ I have the same problem
May i ask how to fix this bug?
And besides, when i `docker build` the dockerfile virtualhere given,it also can't complete
here's the output:
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar…
(1/18) Installing ca-certificates (20191127-r2)
(2/18) Installing nghttp2-libs (1.39.2-r0)
(3/18) Installing libssh2 (1.9.0-r1)
(4/18) Installing libcurl (7.61.1-r3)
(5/18) Installing curl (7.61.1-r3)
(6/18) Installing binutils (2.30-r6)
(7/18) Installing gmp (6.1.2-r1)
(8/18) Installing isl (0.18-r0)
(9/18) Installing libgomp (6.4.0-r9)
(10/18) Installing libatomic (6.4.0-r9)
(11/18) Installing pkgconf (1.5.3-r0)
(12/18) Installing libgcc (6.4.0-r9)
(13/18) Installing mpfr3 (3.1.5-r1)
(14/18) Installing mpc1 (1.0.3-r1)
(15/18) Installing libstdc++ (6.4.0-r9)
(16/18) Installing gcc (6.4.0-r9)
(17/18) Installing make (4.2.1-r2)
(18/18) Installing musl-dev (1.1.19-r11)
Executing busybox-1.28.4-r3.trigger
Executing ca-certificates-20191127-r2.trigger
OK: 101 MiB in 31 packages
curl: (22) The requested URL returned error: 404 Not Found
tar: invalid magic
tar: short read
.
I dont know sorry, im not that familiar with docker. Someone got it working a while ago and i posted the code to my repository ... but ideally virtualhere client needs to run in a real-vm not dockerized because docker is too restrictive with kernel modules
That's fine XD
That's fine XD
May i ask your repo address?
I compile the docker but it still can't work orz
.
https://github.com/virtualhere/docker/blob/master/Dockerfile
If you can get it working let me know and i can update my repository
.
Hi Michael~
I solve my problem and it seems due to the drriver mod setting
And your dockerfile seems not working now,cuz linux kernel 4.19.0 doesn't exist anymore on the https://www.kernel.org, and that's why it throw the 'curl 404'
So i have made a pr to your repo,and it can be compiled on my own server
Hope that can solve the problem~
And thanks for your help~
Have a nice day!
.
Great thanks a lot for that, ive merged now !
.
Glad to help you fix that XD
.
Hi Michael~
I have made a tiny patch to the Dockerfile and pr again orz
Check it if you have time ~ :)
.
Thanks again, merged now
MacOS 10.16
Would this be. workaround to the lack of kext support in MacOS 10.16?
I assume if this does work, any program accessing the virtual usb would need to be running in docker as well? Would there be a way to expose this usb to a MacOS App?
.
No docker is one way only, inside the container the host os cannot see devices