Beyond Compare 4 in a Docker container.
- Docker 1.6+ (previous versions may work fine, but I haven't tried)
- An X11 socket
Get the trusted build on the docker hub:
$ docker pull zeitgeist/docker-bcompare
or download and compile the source yourself from Github:
$ git clone https://github.com/alexzeitgeist/docker-bcompare.git
$ cd docker-bcompare
$ docker build -t zeitgeist/docker-bcompare .
$ docker run --rm \
-v /tmp/.X11-unix:/tmp/.X11-unix:ro \
-e DISPLAY=unix$DISPLAY \
zeitgeist/docker-bcompare
With persistent storage to work with files on the host:
Create a folder on the host, e.g. ${HOME}/bcompare. Then map it like this:
$ docker run --rm \
-v /tmp/.X11-unix:/tmp/.X11-unix:ro \
-e DISPLAY=unix$DISPLAY \
-v "${HOME}/bcompare":"/home/user" \
zeitgeist/docker-bcompare