About jetson ros docker container

Hello, @dusty_nv

I built the docker container by following the instructions at the address below.

I get the following error:

Even if I run it with sudo privileges as follows, I get the same error.
How can I solve this?

manager@manager-desktop:~/coding/GitHub/jetson-containers$ sudo ./scripts/docker_test_ros.sh melodic
reading L4T version from /etc/nv_tegra_release
L4T BSP Version: L4T R32.4.4
l4t-base image: nvcr.io/nvidia/l4t-base:r32.4.4
testing container ros:melodic-ros-base-l4t-r32.4.4 => ros_version
localuser:root being added to access control list
docker: Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: error adding seccomp filter rule for syscall clone3: permission denied: unknown.

Thank you.

Hi @Hodu, this error is unrelated to the ROS container, and is rather because of a recently upgraded docker package. Please try this fix for it:

1 Like

Hello,

I applied the patch you mentioned.
When I run ./scripts/docker_test_ros.sh melodic, the following message appears. Is it installed successfully?

If installed successfully
Now, what command do I need to run to use this docker container?
I ask because the README only lists tests.
It’s a beginner.

651 sudo apt-get update
652 sudo apt-get install nvidia-docker2=2.8.0-1
653 history
manager@manager-desktop:~/coding/GitHub/jetson-containers$ jtop
manager@manager-desktop:~/coding/GitHub/jetson-containers$ ./scripts/docker_test_ros.sh melodic
reading L4T version from /etc/nv_tegra_release
L4T BSP Version: L4T R32.4.4
l4t-base image: nvcr.io/nvidia/l4t-base:r32.4.4
testing container ros:melodic-ros-base-l4t-r32.4.4 => ros_version
localuser:root being added to access control list
xauth: unable to link authority file /tmp/.docker.xauth, use /tmp/.docker.xauth-n
chmod: changing permissions of ‘/tmp/.docker.xauth’: Operation not permitted
sourcing /opt/ros/melodic/setup.bash
ROS_ROOT /opt/ros/melodic/share/ros
ROS_DISTRO melodic
getting ROS version -
melodic
done testing container ros:melodic-ros-base-l4t-r32.4.4 => ros_version

manager@manager-desktop:~/coding/GitHub/jetson-containers$ sudo ./scripts/docker_test_ros.sh melodic
reading L4T version from /etc/nv_tegra_release
L4T BSP Version: L4T R32.4.4
l4t-base image: nvcr.io/nvidia/l4t-base:r32.4.4
testing container ros:melodic-ros-base-l4t-r32.4.4 => ros_version
localuser:root being added to access control list
sourcing /opt/ros/melodic/setup.bash
ROS_ROOT /opt/ros/melodic/share/ros
ROS_DISTRO melodic
getting ROS version -
melodic
done testing container ros:melodic-ros-base-l4t-r32.4.4 => ros_version

Thank you.

Hi @Hodu, glad you got the patch installed ok - yes it is working correctly now.

To run the container, you can use the following command:

$ cd /path/to/your/jetson-containers
$ scripts/docker_run.sh -c  ros:melodic-ros-base-l4t-r32.4.4

It will then give you a terminal prompt that is running inside the container.

1 Like

Thank you.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.