Skip to content
Snippets Groups Projects
Commit 0cd71d28 authored by Tim Kluge's avatar Tim Kluge
Browse files

ref #1: Mount x11 unix on Mac

parent a2b03d53
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,9 @@
## Docker
To quickly run the graphical example applications, you can use Docker. For development purposes, please use the regular installation instructions further below in this document.
To quickly run the graphical example applications, you can use Docker. For development purposes, please use the regular installation
instructions further below in this document. Please note that the setup for Windows and Mac OS systems uses X11 forwarding and thus
offers limited graphics performance.
- Clone this repo and its submodules:
- as a guest: `git clone --recurse-submodules https://git-st.inf.tu-dresden.de/ceti/ros/panda_gazebo_workspace.git panda_gazebo_workspace`
......
#!/bin/sh
xhost + 127.0.0.1
docker build . -t ceti-panda-gazebo-workspace
XSOCK=/tmp/.X11-unix
docker run -it \
--volume=$XSOCK:$XSOCK:rw \
--env="DISPLAY=host.docker.internal:0" \
--user="ros" \
ceti-panda-gazebo-workspace \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment