From e8dec09ae751c24420b740ef7c02ab38558b9adb Mon Sep 17 00:00:00 2001 From: b-i-t-n Date: Thu, 13 Jul 2017 08:06:46 +1000 Subject: [PATCH] Added spaces to heading format correctly --- resources/user-guides/mining_with_xmrig_and_docker.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/resources/user-guides/mining_with_xmrig_and_docker.md b/resources/user-guides/mining_with_xmrig_and_docker.md index 2dbeba80..85aa9a20 100644 --- a/resources/user-guides/mining_with_xmrig_and_docker.md +++ b/resources/user-guides/mining_with_xmrig_and_docker.md @@ -9,23 +9,24 @@ icon: "icon_userguides" attribution: "" --- -##Introduction +## Introduction This guide is two fold, ease of use for mining on Linux distributions and some extra security around mining as most of these miners have not had security auditing. At the end of this guide you will be able to sleep a little easier knowing that if the miner gets exploited it will not migrate to your OS. -###Why Docker +### Why Docker Docker is being used as it is the most well known and has the biggest chance to be already installed. The container I an using is [alpine-xmrig](https://hub.docker.com/r/bitnn/alpine-xmrig/) as per the name it is built on the [Alpine Linux](https://www.alpinelinux.org/) image. -###Why XMRig + +### Why XMRig [XMRig](https://github.com/xmrig/xmrig) is just a really solid miner to me. Nice output and statistics, no flashy web-ui's or dependencies. The XMRig container is only ~4MB what makes it extremely portable. -####Step 1: Mining with XMRig +#### Step 1: Mining with XMRig Run the following @@ -34,7 +35,7 @@ Run the following # docker run --restart unless-stopped --read-only -m 50M -c 512 bitnn/alpine-xmrig -o pool.supportxmr.com:7777 -u 45CJVagd6WwQAQfAkS91EHiTyfVaJn12uM4Su8iz6S2SHZ3QthmFM9BSPHVZY388ASWx8G9Wbz4BA24RQZUpGczb35fnnJz -p docker:secret -k ``` -####Step 2: There is no Step 2 +#### Step 2: There is no Step 2 You have already done everything you need to do. You are now mining in a docker container with XMRig `ctrl+c` to exit the miner or add `-d` just after `docker run` to background the miner.