OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-docker / indigo / eva-owyl / run.sh

19 lines · bash ref:
#! /bin/bash
#
# Run the docker container. Stop any previously running copies.
#
./stop.sh

# Enable local, non-network connections to X-Server
xhost +local:root

# Assorted grunge to let X11 use the 3D graphics acceleration.
docker run --name="eva-owyl" --privileged  \
   -e DISPLAY=:0.0 \
   -v /dev/video0:/dev/video0 -v /dev/snd:/dev/snd  \
   -v /tmp/.X11-unix/X0:/tmp/.X11-unix/X0 -v /dev/dri:/dev/dri \
   -v /dev/shm:/dev/shm -it opencog/eva-owyl

xhost -local:root
clear