<commit_before># docker-diff
:whale: Compare Docker images

## Usage

[See full examples](./examples).

---

Comparing changes between [alpine:3.2](https://hub.docker.com/r/library/alpine/) and [alpine:3.3](https://hub.docker.com/r/library/alpine/).

```console
$ ./docker-diff alpine:3.2 alpine:3.3
```

```diff
7,8c7
< ---s--x--x 9944       bin/bbsuid
< -rwxr-xr-x 800936     bin/busybox
---
> -rwxr-xr-x 809128     bin/busybox
63d61
< lrwxrwxrwx 0          bin/rc-status
82d79
< -rwxr-xr-x 9872       bin/uniso<commit_msg>Add instructions on how to install from Homebrew tap<commit_after># docker-diff
:whale: Compare Docker images

## Installation

### On macOS via Homebrew

`brew install joenyland/docker/docker-diff`

Or `brew tap joenyland/docker` and then `brew install docker-diff`

## Usage

[See full examples](./examples).

---

Comparing changes between [alpine:3.2](https://hub.docker.com/r/library/alpine/) and [alpine:3.3](https://hub.docker.com/r/library/alpine/).

```console
$ ./docker-diff alpine:3.2 alpine:3.3
```

```diff
7,8c7
< ---s--x--x 9944       bin/bbsuid
< -rwxr-xr-x 800936     bin/busybox
---
> -rwxr-xr-x 809128     bin/busybox
63d61
< lrwxrwxrwx 0          bin/rc-status
82d79
< -rwxr-xr-x 9872       bin/uniso
{'fraction_non_alphanumeric': 0.17014446227929375, 'fraction_numerical': 0.06420545746388442, 'mean_word_length': 2.958730158730159, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '7332661', 'n_tokens_mistral': 586, 'n_tokens_neox': 509, 'n_words': 102}