<commit_before>docker-event-store
==================

A Dockerfile that produces a container that runs [EventStore].

[EventStore]: http://geteventstore.com/

## Building a container

Clone the repository, enter the directory, then build the image:

```bash
$ git clone https://github.com/asm89/docker-event-store.git
$ cd docker-event-store
$ docker build -t event-store .
```

## Running Event Store

After you've successfully built the container you can it like this:

```bash
$ docker run -t -i event-store:latest
```

Now find the ip address of the running event store:

```bash
$ docker ps
CONTAINER ID        IMAGE               COMMAND                CREATED             STATUS              PORTS                NAMES
7c25c343e248        event-store:latest   mono-sgen /var/local  6 seconds ago       Up 5 seconds        1113/tcp, 2113/tcp   loving_pasteur
$ docker inspect 7c25c343e248 | grep IPAddress
        "IPAddress": "172.17.0.2",<commit_msg>Add a note about the branch used for the build<commit_after>docker-event-store
==================

A Dockerfile that produces a container that runs [EventStore].

[EventStore]: http://geteventstore.com/

## Building a container

Clone the repository, enter the directory, then build the image. By default the
master branch of the [EventStore repository] is used for the build:

```bash
$ git clone https://github.com/asm89/docker-event-store.git
$ cd docker-event-store
$ docker build -t event-store .
```

[EventStore repository]: https://github.com/EventStore/EventStore

## Running Event Store

After you've successfully built the container you can it like this:

```bash
$ docker run -t -i event-store:latest
```

Now find the ip address of the running event store:

```bash
$ docker ps
CONTAINER ID        IMAGE               COMMAND                CREATED             STATUS              PORTS                NAMES
7c25c343e248        event-store:latest   mono-sgen /var/local  6 seconds ago       Up 5 seconds        1113/tcp, 2113/tcp   loving_pasteur
$ docker inspect 7c25c343e248 | grep IPAddress
        "IPAddress": "172.17.0.2",
{'fraction_non_alphanumeric': 0.10195331110052405, 'fraction_numerical': 0.03525488327775131, 'mean_word_length': 2.8043478260869565, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, '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': '999212', 'n_tokens_mistral': 681, 'n_tokens_neox': 586, 'n_words': 217}