Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [docker]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
50 views

How to compile package located outside of docker image using docker-based ROS2

I have used catkin_make in ROS1 to build packages successfully. I am using ROS2 in an image in docker on a raspberry pi zero 2W. To my knowledge I cannot install ROS2 in raspbian OS directly so I am ...
Vince's user avatar
  • 11
0 votes
1 answer
26 views

Communication Between Docker Containers Running Different Versions of ROS

I have two Docker containers, each running ROS 1 and ROS 2. I need both to be able to read and publish topics from each other, and maybe even from the host. I know it's possible to use ...
D Yan's user avatar
  • 1
1 vote
1 answer
38 views

Getting ROS melodic from docker to communicate with ROS noetic on host PC

I'm working with ros noetic in ubuntu 20.04 with docker desktop. I'm specifically running this package, which runs a back-end for a multi-robot SLAM system. According to the authors, they have to run ...
GShim23's user avatar
  • 23
2 votes
0 answers
10 views

How to expose built custom ROS message inside a container to host machine without sourcing the setup.py file outside the container?

I am working in a ROS1 environment. right now the container builds the package and runs source devel/setup.py which allows the messages to work within the container....
castaway2000's user avatar
0 votes
0 answers
47 views

qt.qpa.xcb: could not connect to display :1

Description: I have tried to execute ros in a docker container on vscode. I have followed the tutorial at this page . I have a problem in visualizing rviz2. Environment: ROS Distro: Humble OS Version:...
Fabrizio Rosito's user avatar
0 votes
0 answers
17 views

'[gazebo_gui-3] process has died' in the docker container

I have a bit of a weird situation. I want to run a docker container (i was provided the image and the docker run script). When I follow the instructions, everything works nicely for the initial time. ...
Guson's user avatar
  • 1
0 votes
0 answers
14 views

ROS Bridge docker broadcast topics outside of localhost

I am using the ros_bridge repository in a Docker container. Everything works on my local computer (computer #1) but once I want the published topics to be read over ...
Yato's user avatar
  • 58
0 votes
1 answer
40 views

How to configure Colcon?

I have been working for some time on a ros2 docker container development environment. Since I had to do some git clone commands into an imaginary folder and needed ...
Guela kais's user avatar
0 votes
1 answer
45 views

How to get a Docker container to see ROS traffic from the local host?

I am trying to get ROS traffic from the local host to a Docker container on that same host but I get an error when I run my Docker container. The Dockerfile is: ...
jasonsf's user avatar
  • 47
0 votes
1 answer
30 views

reducing size of a ros2 build from source in docker

I'm building ros2 humble from source on a Docker image. The target is an arm32v7 computer (Odroid XU4) I'm using rosinstall_generator to get ros_core packages. Using docker buildx I managed to build ...
Leonardo Garberoglio's user avatar
0 votes
0 answers
56 views

My docker does not recognise existing nodes and topics

I’m using wsl to run a docker with arm64 platform in order to compile the packages that will go on a debix model A board. My problem is that sometimes I want to test the packages I have but when I ...
FinApp's user avatar
  • 1
0 votes
1 answer
57 views

How to Visualize the Safety_Lidar/Depth camera data on RViz from Docker Container

I am currently collaborating with a mobile robot, as depicted in Image 1. The robot is equipped with two sick_safety scanners, positioned at the front and rear. The data nodes/topics are publishing ...
Md. Sajib Pramanic's user avatar
1 vote
1 answer
251 views

Very high CPU usage when running Gazebo in a docker container

I have run into a problem that when I start an empty world with Gazebo (I have tested this with Citadel, Fortress and Harmonic) inside a docker container my CPU usage shoots up to 70%. When I start ...
Veronika's user avatar
0 votes
0 answers
38 views

ROS 2 DDS/Container Communication Issue

I have an issue with communication between: Ubuntu 22.04 container running on a Ubuntu 20.04 PC Raspberry Pi running 22.04 Both are running Humble. Essentially, communication works fine between both ...
Kyle's user avatar
  • 1
1 vote
0 answers
42 views

ros tutorial turtlesim running but no display in docker

I have just started learning ros from the tutorial given in their website. Tutorial link As i am using windows I wanted to learn in Ubuntu. So i am using docker version of the ros. but now while ...
Amarnath's user avatar
  • 111
-1 votes
1 answer
192 views

Cannot communicate between ROS 2 (in Docker container) on Raspberry Pi and ROS 2 on Laptop

My setup is: ROS 2 Galactic on my laptop (Ubuntu 20.04) ROS 2 Humble in a Docker container on a Raspberry Pi 4 (Ubuntu Server 22.04) Testing communication using: ros2 multicast send and ros2 ...
JassD's user avatar
  • 1
0 votes
0 answers
28 views

How to deploy and manage robotics app over docker in production over several (at least tens of if not hundreds of) devices?

I was wondering if robotics applications can be deployed over docker, say on Qualcomm RB5. I came across this whitepaper by Ubuntu Canonical. which argues that docker is not fit for IoT devices and ...
Mahesha999's user avatar
0 votes
0 answers
82 views

can't echo topics on the host computer with ros2 Docker

I'm using micros-ros on my custom stm32f722 board connected through USB to a Jetson Nano, with ubuntu 22.04 (custom image for the nano) and ros2 iron. If I run: ...
Leonardo Garberoglio's user avatar
0 votes
1 answer
46 views

ublox_gps doesn't publish fix messages inside docker

I'm using Kumar's driver's for ublox f9p GPS on a jetson nano with ubuntu 20.04 and ros foxy. I connect the GPS to USB and it is assigned to ttyACM1. I can ros2 launch and get fix messages, so it is ...
Leonardo Garberoglio's user avatar
0 votes
0 answers
72 views

ROS master running in docker container not accessible by host machine

I'm trying to encapsulate my ROS nodes in docker containers for deployment, but I'm unable to contact the docker container from the host computer. I believe this issue is related to my docker ...
HaveSomeHardware's user avatar
0 votes
1 answer
74 views

ROS2 listener/talker only works for talker on MacOS Sonoma 14.2 on M1-Max within docker

I have Sonoma 14.2 on my M1-Max and can not make it run for talker/listener couple of ROS2 in docker container I followed steps at here Talker sends messages but no response from listener. How should ...
serkan's user avatar
  • 103
0 votes
0 answers
78 views

One of my ros node emits [Errno 111] Connection refused in docker container

I am currently developing ros packages in docker system. The environment I am using is ROS noetic, Ubuntu focal on a docker container One of my package is failing. I seems it is due to failing to get /...
Jieun Ko's user avatar
0 votes
1 answer
305 views

Got Pi5 w PiOS Bookworm, Want ROS 2 Humble Desktop Docker with Nav2 and more

I have a working ROS 2 Humble robot (Raspberry Pi4 based GoPiGo3 robot running Ubuntu 22.04) that runs nav2 async mapping, localization, and navigation at close to 100% load. I just acquired a ...
Cyclical Obsessive's user avatar
0 votes
0 answers
114 views

How to open rqt_graph or any other rqt tools from humble docker?

I have macOS Ventura, I run ros2 nodes using docker. Currently, I am experiencing some problems for which I need rqt for debugging. Unfortunately, rqt_graph fails to start with the error ...
RobotBramhana's user avatar
0 votes
0 answers
65 views

Nav2 build error on Dockerfile for Jetson Nano

I'm working on build Nav2 from source on a Dockerfile for the Jetson Nano. The official ubuntu distro is ubuntu 18.04, so I'm using ...
Leonardo Garberoglio's user avatar
0 votes
1 answer
70 views

Nav2 building from source in docker

I'm trying to make a Dockerfile with nav2 build process, but I'm facing a problem: ...
Leonardo Garberoglio's user avatar
0 votes
1 answer
193 views

Trouble with running ros1_bridge with external robot using Docker

Show activity on this post. for a project, I have a robot that is running Ubuntu 18.04 with ROS1 Melodic and a desktop that is running Ubuntu 22.04 with ROS2 Humble. In order to use the ROS1 bridge I ...
D_scholten's user avatar
1 vote
3 answers
932 views

Invalid GPG ROS melodic Docker image

for a couple of hours, I am getting the following error when trying to build Docker images based on ROS melodic: ...
fabioDFKI's user avatar
0 votes
1 answer
109 views

no new messages for rostopic hz /camera/aligned_depth_to_color/image_raw in ros noetic inside docker

steps to reproduce the problem In the first terminal type: ...
Mona Jalal's user avatar
0 votes
0 answers
121 views

Rviz2 high CPU usage on Ubuntu Server

Running Rviz2 in Docker using Ubuntu server (22.04.3 LTS) shows a high CPU usage. Running the same docker container on a desktop using Ubuntu 22.04.3 LTS shows very different results. No topics were ...
joachim's user avatar
0 votes
1 answer
441 views

ROS2 in Docker on Mac M1 (Sonoma) not able to publish topic to outside machines

I'm testing an ROS2 (Humble) installation on a Mac M1 running the Sonoma OS. The Dockerfile is using arm64v8/ros:humble-perception-jammy. I also added the demo nodes (cpp talker and listener). In my ...
Thou Maker's user avatar
0 votes
1 answer
40 views

Does Docker provide a full Ubuntu GUI development environment like VirtualBox for ROS Noetic

I can't seem to find a proper answer to this question by reading through Docker documentation. If Docker is touted as a lighter alternative to VMs installed via tools like VirtualBox, does it provide ...
rosnoob's user avatar
  • 15
0 votes
1 answer
330 views

Running RViz inside a docker container on macOS Sonoma

I am trying to run RViz inside a docker container created from arm64v8/ros:noetic image Background info MacBook Air M2 MacOS Sonoma 14.0 Docker Desktop Version 4.24.2 (124339) XQuartz 2.8.5 (xorg-...
Yusuf Etkin KIZILDAĞ's user avatar
0 votes
0 answers
150 views

ROS2 humble docker container cannot communicate with host

I attempted to learn how to develop ROS2 in Docker, so I started with this tutorial: link to the tutorial. Everything seemed fine until I tried to establish communication between a talker-listener ...
Jarunyawat Buasri's user avatar
0 votes
1 answer
1k views

How to run Gazebo and Rviz on a ROS2 Docker Image without an Nvidia GPU

I'm still new to docker and am mainly looking for some helpful resources/steps/etc. for setting up a docker image that can run ROS2 with Rviz and Gazebo that does not rely on any Nvidia harware or ...
Zain_Rain's user avatar
0 votes
1 answer
24 views

Status of snapshots.ros.org

I am using snapshots.ros.org as my apt mirror for my Humble docker image and wanted to update to the latest humble release. From the ROS discourse page, we should see a 2022-11-01 release in the ...
Dan Ambrosio's user avatar
0 votes
1 answer
80 views

Docker and MATLAB

I am running my roscore from MATLAB using rosinit and the ROS_IP was set '127.0.0.1', this creates a ROS Master at 'http://127.0.0.1:11311'. I am running ROS within a docker container running on the ...
Maithili Shetty's user avatar
0 votes
1 answer
379 views

osrf/ros docker images don't contain Gazebo packages

I am trying to move my local development environment to a container. I had no problems setting up the container using the docker images provided by https://github.com/osrf/docker_images/tree/master ...
jlee's user avatar
  • 25
0 votes
1 answer
640 views

ROS2 Docker: Node/topics not showing up in list

I've set up ROS 2 Humble in Docker with NoVNC following these instructions with the intention of doing the turtle sim tutorials. However, I can't see any nodes or topics using the list command and my ...
sher222's user avatar
0 votes
0 answers
120 views

Cannot use Yolov8 model for object detection in ROS2

I'm trying to replace the ssd_mobilenet_v2 object detection model with my YOLOv8 model on an Autonomous Mobile Robot. I have already modified the paths and related files (xml, label, bin). But when ...
xz_Steven's user avatar
0 votes
0 answers
64 views

ROS2 communication between a docker container on AWS and a local Desktop environment

I have started recently a ROS2 project that operates remotly in a docker development container on AWS. My objective is to establish a direct bidirectional communication between ROS2 in this container ...
Abed Al Rahman Al Mrad's user avatar
-1 votes
1 answer
666 views

Unable to open RViz over SSH, running on Jetson Nano JetPack 4.4 Ubuntu 18.04

I am currently working with a Limo robot. The GitHub repo contains ROS 2 code for the docker container. Connection via ssh vscode to host machine. The difficulty for me to open RViz and to do SLAM ...
huseyn haydarov's user avatar
0 votes
1 answer
223 views

cannot launch node of type + can't locate node in package

I run into some problems trying to run a ROS Kinetic package https://github.com/romarcg/traversability_estimation with nvidia docker. I started the docker with: ...
chen's user avatar
  • 1
0 votes
1 answer
62 views

Odd Docker roscore/roslaunch delays with Linux kernel 6.1

Hello, I have an odd one here and am trying to figure out a possible root cause! The Situation I am running a custom Linux version made using Buildroot, with application ROS code containerized. I have ...
user avatar
0 votes
1 answer
9 views

How to get an older version of ros::rolling Docker image

Due to nav2 not being quite up-to-date, I can't use nav2 with official ros::rolling docker image. Here's the nav2 issue that has details on that: https://github.com/ros-planning/navigation2/issues/...
AndyZe's user avatar
  • 863
0 votes
2 answers
208 views

Ros2 with docker - dev setup

Hi there, I'm new to ROS and seeking some advice for my dev setup. M1 Mac Ros2 Humble So, I'm using docker to run ros on my mac. I dont want to rebuild the image after every little change, ...
user avatar
0 votes
1 answer
139 views

ubuntu_22 : ROS2_humble :/usr/include/pcl_conversions/pcl_conversions.h:fatal error: pcl/conversions.h: No such file or directory

Recently I started working in ROS2, while using some of pcl function I face below error. For #include <pcl_conversions/pcl_conversions.h> I am getting the ...
user avatar
0 votes
1 answer
119 views

Running Gazebo under Docker with VirtualGL

I'm trying to run the LRAUV Simulator on a headless system with an NVIDIA GPU, which I access over VNC. The simulator is published as a Docker container. I modified this container to add VirtualGL as ...
user avatar
0 votes
1 answer
96 views

ROS in Docker: messaging with host PC

Hi! I would like to know how to set up connection between ROS in Docker with ROS on host PC correctly. Following some answers like these [1][2] I can understand that connecting container to host ...
user avatar
0 votes
1 answer
81 views

apt update fails in ROS2 Humble docker container

Hello! I have the following issue when try to build a docker image based on ROS2 Humble. When I am running apt update for further installation of other packages I get the following error: ...
user avatar