Skip to content

Commit

Permalink
docs: new command docker to show logs
Browse files Browse the repository at this point in the history
  • Loading branch information
lpsm-dev committed Jan 7, 2022
1 parent 7556584 commit f436182
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ The preferred way to configure XMRig is using a configuration file in JSON forma
To run the docker container:

```bash
docker container run --restart unless-stopped \
--name crpto-miner -d --read-only --rm \
docker container run \
--restart unless-stopped --name crypto-miner -d \
-e MINING_POOL="rx.unmineable.com:3333" \
-e MINING_COIN="SHIB" \
-e REFERRAL_CODE="7lkr-kmhq" \
Expand All @@ -82,6 +82,18 @@ docker container run --restart unless-stopped \
ghcr.io/lpmatos/docker-crypto-miner:main
```

Shows information logged of the running container:

```bash
docker logs -f crypto-miner
```

or

```bash
docker logs --tail 1000 crypto-miner
```

Click [here](https://github.com/lpmatos/docker-crypto-miner/pkgs/container/docker-crypto-miner/versions) to see available image tags.

## ➤ Concepts <a name = "concepts"></a>
Expand Down

0 comments on commit f436182

Please sign in to comment.