<commit_before>## Run OpenShift V3 using Docker

Probably the easiest way to use OpenShift V3 on your laptop is to use [Docker](https://docs.docker.com/) since thats the only thing you need to install and often developers already have it.

First you'll need to [install docker](https://docs.docker.com/installation/), the later the version generally the better it is!

### Environment variables

You'll need the following environment variables to be able use the [Tools](http://fabric8.io/v2/tools.html) such as the [Web Console](console.html), [Maven Plugin](http://fabric8.io/v2/mavenPlugin.html), the [Forge Addons](http://fabric8.io/v2/forge.html) and the [java libraries](javaLibraries.html):

    export DOCKER_IP=192.168.59.103
    export DOCKER_REGISTRY=$DOCKER_IP:5000
    export KUBERNETES_MASTER=http://$DOCKER_IP:8080
    export FABRIC8_CONSOLE=http://$DOCKER_IP:8484/hawtio

### Network routes<commit_msg>add a better set of env var expressions which autocreate the correct DOCKER_IP<commit_after>## Run OpenShift V3 using Docker

Probably the easiest way to use OpenShift V3 on your laptop is to use [Docker](https://docs.docker.com/) since thats the only thing you need to install and often developers already have it.

First you'll need to [install docker](https://docs.docker.com/installation/), the later the version generally the better it is!

### Environment variables

You'll need the following environment variables to be able use the [Tools](http://fabric8.io/v2/tools.html) such as the [Web Console](console.html), [Maven Plugin](http://fabric8.io/v2/mavenPlugin.html), the [Forge Addons](http://fabric8.io/v2/forge.html) and the [java libraries](javaLibraries.html):

    export DOCKER_IP=`boot2docker ip 2> /dev/null`
    export DOCKER_REGISTRY=$DOCKER_IP:5000
    export KUBERNETES_MASTER=http://$DOCKER_IP:8080
    export FABRIC8_CONSOLE=http://$DOCKER_IP:8484/hawtio

Usually your $DOCKER_IP is something like **192.168.59.103** if you are on Windows or a Mac and are using boot2docker.

### Network routes
{'fraction_non_alphanumeric': 0.10658153241650295, 'fraction_numerical': 0.032907662082514735, 'mean_word_length': 4.938775510204081, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6054848', 'n_tokens_mistral': 693, 'n_tokens_neox': 626, 'n_words': 211}