Sign inSign up

gilyou/docker-repos

By gilyou

Updated almost 9 years ago

docker repositories for debian

Image
0

181

gilyou/docker-repos repository overview

docker-repos

docker repositories

Docker with GUI

To run docker with GUI, we need XForwarding.

  • Enable socket communication between host and container
  • Certification for each other
SOCKET=/tmp/.X11-unix
# get container id
containerid=`docker run -it --rm -d -v $SOCKET:$SOCKET -e DISPLAY:$DISPLAY $IMAGE:$TAGS bash`
# certificate
xhost +local:$containerid
# do your work here
docker exec -it $containerid $CMD
# stop container
docker stop $containerid
# un-certificate for better security
xhost -local:$containerid

see run for more detailed information

Tag summary

Content type

Image

Digest

Size

2.1 GB

Last updated

almost 9 years ago

docker pull gilyou/docker-repos