-
Notifications
You must be signed in to change notification settings - Fork 0
/
run.sh
executable file
·12 lines (8 loc) · 769 Bytes
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
set -ex
# docker run -v $PWD/shared:/shared -p 23000-23500:23000-23500 -it coppeliasim-ubuntu22 "$@"
# To open an application window via X11 server:
# docker run -v $PWD/shared:/shared -p 23000-23500:23000-23500 -it --env DISPLAY=$DISPLAY --volume /tmp/.X11-unix:/tmp/.X11-unix --name coppelia_container coppeliasim-ubuntu22 "$@"
# on the host:
# xhost +local:docker
docker run --rm -v $HOME/Data:/shared -p 23000-23500:23000-23500 -p 6060:80 -it --env DISPLAY=$DISPLAY --env LIBGL_ALWAYS_SOFTWARE=1 --volume /tmp/.X11-unix:/tmp/.X11-unix --name vox voxposer:ubuntu20-v1
# docker run --rm -v $HOME/Data:/shared -p 23000-23500:23000-23500 -p 6060:80 -it --env DISPLAY=$DISPLAY --volume /tmp/.X11-unix:/tmp/.X11-unix --name coppelia_container coppeliasim-ubuntu20:v1