<commit_before>To start a master:

```
docker run \
  -d \
  -p 4505:4505/tcp \
  -p 4506:4506/tcp \
  -p 4510:4510/udp \
  -v /dev/log:/dev/log \
  -v /etc/salt:/etc/salt \
  -v /srv/salt:/srv/salt \
  -v /var/log/salt:/var/log/salt \
  -h salt \
  --restart on-failure:10 \
  --name salt-master \
  --link redis:redis \
  voxxit/salt master
```

To start a minion:

```
docker run \
  --restart on-failure:10 \
  --detach \
  -p 4510:4510/udp \
  -v /dev/log:/dev/log \
  -v /etc/salt:/etc/salt \
  -v /srv/salt:/srv/salt \
  -v /var/log/salt:/var/log/salt \
  --name salt-minion \
  --link redis:redis \
  voxxit/salt minion
```

**salt-master** Environment variables:

`SALT_INTERFACE` - listening address to bind to in the Docker container
`SALT_STATE_VERBOSE` - be more (`True`) or less (`False`) chatty during state migrations

**salt-minion** Environment variables:

`SALT_MASTER` - hostname/IP of the salt master
`SALT_KEYSIZE` - size of the generated client credentials for a minion
`SALT_MINE_INTERVAL` - how often (in minutes) to collect mine data
<commit_msg>update readme files for some aliases<commit_after>To start a master:

```
docker run \
  -d \
  -p 4505:4505/tcp \
  -p 4506:4506/tcp \
  -p 4510:4510/udp \
  -v /dev/log:/dev/log \
  -v /etc/salt:/etc/salt \
  -v /srv/salt:/srv/salt \
  -v /var/log/salt:/var/log/salt \
  -h salt \
  --restart on-failure:10 \
  --name salt-master \
  --link redis:redis \
  salt master
```

To start a minion:

```
docker run \
  -d \
  -v /dev/log:/dev/log \
  -v /etc/salt:/etc/salt \
  -v /srv/salt:/srv/salt \
  -v /var/log/salt:/var/log/salt \
  --restart on-failure:10 \
  --name salt-minion \
  --link redis:redis \
  voxxit/salt minion
```

### Helpful Aliases

Alternatively, replace `salt-master` below for `salt-minion` if that container is running on the server.

```
alias salt="docker exec -it salt-master salt"
alias salt-key="docker exec -it salt-master salt-key"
alias salt-call="docker exec -it salt-master salt-call"
```

**salt-master** Environment variables:

`SALT_INTERFACE` - listening address to bind to in the Docker container
`SALT_STATE_VERBOSE` - be more (`True`) or less (`False`) chatty during state migrations

**salt-minion** Environment variables:

`SALT_MASTER` - hostname/IP of the salt master
`SALT_KEYSIZE` - size of the generated client credentials for a minion
`SALT_MINE_INTERVAL` - how often (in minutes) to collect mine data

{'fraction_non_alphanumeric': 0.1509278350515464, 'fraction_numerical': 0.02639175257731959, 'mean_word_length': 2.7612403100775196, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '1821579', 'n_tokens_mistral': 1049, 'n_tokens_neox': 927, 'n_words': 253}