Go to file
2016-12-04 20:52:50 +01:00
docker-compose.yml initial release 2016-12-04 20:34:30 +01:00
Dockerfile initial release 2016-12-04 20:34:30 +01:00
launch ensure necessary directories are present 2016-12-04 20:52:50 +01:00
LICENSE Initial commit 2016-12-04 19:17:56 +00:00
README.md initial release 2016-12-04 20:34:30 +01:00

Launching Chromium in Docker

The simplest way:

git clone https://github.com/arno01/chromium.git
cd chromium
docker-compose run chromium

If it does not start, you may need to allow your user making local connections to X server, which can be achieved with this command on host:

xhost +SI:localuser:$(id -un)

You can use the following shortcut function and place it to your ~/.bash_aliases file:

function docker_helper() {
    pushd ~/docker/$1
    docker-compose rm -f "$1"
    docker-compose run -d --name "$1" "$@"
    popd
}

function chromium() {
    docker_helper "$FUNCNAME" "$@"
}

Then just use chromium command to launch Chromium.

Rebuilding the image

You may want to rebuild this image on your own:

docker pull ubuntu:xenial
docker build -t andrey01/chromium .