An ubuntu based docker image for a rxvt terminal
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Dockerfile
Makefile
README.md

README.md

ianblenke/docker-rxvt

An ubuntu based docker image for a rxvt terminal

$ docker run -ti --rm \
             --net=host \
             -e DISPLAY=$DISPLAY \
             -v ~/.Xauthority:/root/.Xauthority \
             -v /tmp/.X11-unix:/tmp/.X11-unix \
             ianblenke/rxvt rxvt

You can either use the autobuild ianblenke/rxvt docker registry image, or you can build your own custom local docker image by cloning [github.com/ianblenke/docker-rxvt] and running make:

$ make

Notes:

  1. The "--net=host" is important for DISPLAY=localhost
  2. The .Xauthority volume mount is important for xauth trust.
  3. Please don't "xhost +", it makes me cry just thinking about it.
  4. The /tmp/.X11-unix is for a unix domain docket based DISPLAY

If you're having problems with your DISPLAY, it's that the container either can't connect to whatever it is your DISPLAY points to, or you don't have the xauth cookie rights to talk to the X server.