podman run \\
--rm -it \\
--pull always \\
--privileged \\
--userns=host \\
--net="host" \\
--add-host=$HOSTNAME:127.0.1.1 \\
-v /${HOME}:/${HOME} \\
-v /vol/vssp/signsrc/baxter_ws:/vol/vssp/signsrc/baxter_ws \\
-v /vol/vssp/signsrc/openmanipulator_ws:/vol/vssp/signsrc/openmanipulator_ws \\
-v /tmp/.X11-unix:/tmp/.X11-unix \\
--device /dev/nvidia0 \\
--group-add=keep-groups \\
-e DISPLAY=$DISPLAY \\
-e QT_X11_NO_MITSHM=1 \\
-e GAZEBO_IP=127.0.0.1 \\
-e LIBGL_ALWAYS_INDIRECT=0 \\
-e HOME=${HOME} \\
-h $HOSTNAME \\
-v $HOME/.Xauthority:/home/robostudent/.Xauthority \\
container-registry.surrey.ac.uk/shared-containers/robotics-module-2:latest
This alias rosme
creates a command that runs a containerized ROS (Robot Operating System) environment using Podman. Here's what the key parts do:
When you run the rosme
command, it creates an isolated environment with all the necessary ROS tools and dependencies pre-installed.
The X11 connection broke: I/O error (code 1) XIO: fatal IO error 11 (Resource temporarily unavailable) on X server "host.docker.internal:0" after 18 requests (15 known processed) with 0 events remaining. root@f12ef48cb0f0:/# rviz QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' qt.qpa.screen: QXcbConnection: Could not connect to display host.docker.internal:0 Could not connect to any X display.