Running CoreScanner Daemon inside Docker

// Expert user has replied.
R Richard Joffray 2 years 4 months ago
255 4 0

I am trying to get the the corescanner daemon to discover an MS4717 scanner on the host usb. So far I have the sample GUI application running, however no scanners are detected. If I run the daemon on the host machine, everything works as expected and I can see and alter the scanner plugged in.

My question is, is there anyone on this forum that has been able to get the corescanner daemon running inside a docker container to recognize a scanner plugged into the host without running the daemon on the host. Totally relying on the docker container is what I am after.

Is there a specific device or volume that needs to be open that I am not doing?

Please Register or Login to post a reply

4 Replies

R Riad Benallou

I would like to suggest to open support case . Our support team can reach out to the product manager and get you an official feedback if docker is supported or not
Here the link to support community template to raise case
https://supportcommunity.zebra.com/s/contactsupport?language=en_US

H Hannu Korhonen

Hi, 

I have very similar use case and have not been able to get it working. I'd like to run the daemon and my application inside the container and connect with the Zebra usb scanner running on the host. 

I'd appreciate the information, if this is even possible to implement. I'm able to connect with other USB devices, but not with Zebra usb scanner. 

I opened the official support ticket, but it got closed. Any help would be great help!

R Riad Benallou

What container are you using . What's host OS details ? 

Could you provide some info around your use case ? Include what scanner are you using . Ideally outline the process you used too 

H Hannu Korhonen

Hi, 

I have been testing this with Raspberry Pi4 being the host (flashed with Raspberry OS Bookworm) and the scanner is Zebra SE4757SR-L500R (with usb connection). Everything is working fine when the Scanner is connected and cscore daemon is running on a host. I can start the Zebra's SDK test app and connect to the Scanner. On RPI4 I have installed Zebra's SDK for Linux v4.4.1-32_Debian_Packages_ARM_64bit and it's working great. 

Now I would like to run cscore daemon inside a Docker container and it would be connected to host's Scanner. I'd like the SDK to be installed inside the container and containerize the app logic inside the container too. I have tested both arm64v8/debian:11.6 and arm64v8/ubuntu:18.04 docker base images. I can install and start the cscore daemon inside the container and I can start the SDK test app (inside the container), but the test app never finds the Scanner from the host. Docker container has been run in privileged mode and I'm able to connect to other USB devices, like a mouse from the container. 

Any help would be greatly appreciated! Even the information that this is not supported/possible would be valuable. 

 

CONTACT
Can’t find what you’re looking for?