TeamViewer: the TeamViewer docker container.
To create the image bbinet/teamviewer
, execute the following command in the
docker-teamviewer
folder:
docker build -t bbinet/teamviewer .
You can now push the new image to the public registry:
docker push bbinet/teamviewer
Then, when starting your teamviewer container, you will want to share the X11
socket file as a volume so that the TeamViewer windows can be displayed on your
Xorg server. You may also need to run command xhost +
on the host.
$ docker pull bbinet/teamviewer
$ docker run -it --name teamviewer \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY=unix$DISPLAY \
bbinet/teamviewer