alexzeitgeist / docker-bcompare

Dockerized Beyond Compare

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zeitgeist/docker-bcompare

Beyond Compare 4 in a Docker container.

Requirements

  • Docker 1.6+ (previous versions may work fine, but I haven't tried)
  • An X11 socket

Installation

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 .

Usage

$ 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

About

Dockerized Beyond Compare