<commit_before># JmxTrans Docker image

<img src="http://www.jmxtrans.org/assets/img/jmxtrans-logo.gif"/>

Connecting the outside world to the JVM.

This is a fully functional JmxTrans application instance, based on the last releaase.
[http://www.jmxtrans.org/).


# Usage

```
docker run -d -v `pwd`/json-files:/var/lib/jmxtrans jmxtrans/jmxtrans 
docker run -d -v `pwd`/json-files:/var/lib/jmxtrans jmxtrans/jmxtrans start 
docker run -d -v `pwd`/json-files:/var/lib/jmxtrans -P jmxtrans/jmxtrans jmx
docker run -d -v `pwd`/json-files:/var/lib/jmxtrans -p 9999:2101 jmxtrans/jmxtrans jmx
```

You have two commands available :
* start (default value)  
* jmx to start the jvm with jmx debug mode

This will automatically create a 'json-files' volume on docker host, that will survive container stop/restart/deletion. 

# Passing JMXTRANS launcher parameters

The arguments as environment variable are :<commit_msg>Update documentation about start options<commit_after># JmxTrans Docker image

<img src="http://www.jmxtrans.org/assets/img/jmxtrans-logo.gif"/>

Connecting the outside world to the JVM.

This is a fully functional JmxTrans application instance, based on the last releaase.
[http://www.jmxtrans.org/).


# Usage

```
docker run -d -v `pwd`/json-files:/var/lib/jmxtrans -P jmxtrans/jmxtrans 		 
docker run -d -v `pwd`/json-files:/var/lib/jmxtrans -P jmxtrans/jmxtrans jmx
docker run -d -v `pwd`/json-files:/var/lib/jmxtrans -p 9999:2101 jmxtrans/jmxtrans
```

You have two commands available :
* start-with-jmx (default value)
* start-without-jmx without jmx if you think there is an extra runtime cost (we don't think so)

Example: ```docker run -d -v `pwd`/json-files:/var/lib/jmxtrans -P jmxtrans/jmxtrans ```

This will automatically create a 'json-files' volume on docker host, that will survive container stop/restart/deletion. 

# Passing JMXTRANS launcher parameters

The arguments as environment variable are :
{'fraction_non_alphanumeric': 0.11168562564632885, 'fraction_numerical': 0.008273009307135471, 'mean_word_length': 4.13262599469496, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, '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': '6019332', 'n_tokens_mistral': 697, 'n_tokens_neox': 664, 'n_words': 212}