# CPU Mining Example

```bash
docker run -it cryptoandcoffee/cpu-jayddee -a x17 --benchmark
```

{% hint style="info" %}
Press **CTRL-C** to stop mining at any time
{% endhint %}

```bash
docker run -itd --name x17_benchmark --rm cryptoandcoffee/cpu-jayddee -a x17 --benchmark
```

Here is a breakdown of the extra Docker arguments we used above.  These are recommended for 24/7 operation.

|  Argument  | Description                                   |
| :--------: | --------------------------------------------- |
|   **-i**   | Interactive                                   |
|   **-t**   | TTY Interface                                 |
|   **-d**   | Background the container                      |
| **--name** | Name of the container                         |
|  **--rm**  | Remove the container automatically on restart |
