You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The camera is connected to ethernet interface enp0s31f6 which is on static ip 192.168.2.10/255.255.255.0. The camera is on static ip 192.168.2.11/255.255.255.0
I built pylon-ros-camera and it successfully detected the camera on the host
But even though I successfully built the same package inside a docker container, it cannot detect the camera
What I tried
To allow the container to see the interfaces on the host, I run the container with networking as docker run --network=host -d myimage .... And now if I run ifconfig inside the container, it shows me the same interfaces as on the host. See below ifconfig output on host and inside container. But, it still cannot detect the camera.
I ran the container with extended privileges as docker run --network=host --privileged -v /dev:/dev -d .... But, it still cannot detect the camera.
Describe what you want to implement and what the issue & the steps to reproduce it are:
I'm trying to connect to the camera from a docker container.
OS: Ubuntu 22.04.4 LTS
Pylon: pylon_7.5.0.15658-deb0_amd64
The camera is connected to ethernet interface
enp0s31f6
which is on static ip192.168.2.10/255.255.255.0
. The camera is on static ip192.168.2.11/255.255.255.0
I built pylon-ros-camera and it successfully detected the camera on the host
But even though I successfully built the same package inside a docker container, it cannot detect the camera
What I tried
--network=host -d myimage ....
And now if I runifconfig
inside the container, it shows me the same interfaces as on the host. See belowifconfig
output on host and inside container. But, it still cannot detect the camera.docker run --network=host --privileged -v /dev:/dev -d ....
But, it still cannot detect the camera.What might be the problem?
Hardware setup description
IFCONFIG on host
IFCONFIG inside container
Runtime information
Is your camera operational with the Basler pylon Viewer on your platform?
Yes
The text was updated successfully, but these errors were encountered: