Skip to content

Running Yadoms from docker compose with usb sharing device

Jean-Michel DECORET edited this page Nov 17, 2020 · 2 revisions

Yadoms can be embbeded into a docker image. (image build ni progress)

Why

To have an already working Yadoms, without lot of configuration and any dependency to install and manage.

How

Just run docker compose yadoms/yadoms-2.4

What about using real devices

As you know, docker is a lightweigt virtualization system and do not provide an easy way to share usb devices (may be tricky on Unix, and I've never manage to make it works on Windows).

One real working solution is to use USB over ethernet. The docker image running Yadoms acts as an usb client, and then from any host that you configure as server then the connection can be done.

There are many tools for this which implements an usbip like system. For my point of view I recommand to use USB Redirector. This is a good tool which provide a real GUI to manage device.

Clone this wiki locally