mirror of
https://github.com/metal3d/docker-xmrig.git
synced 2024-09-11 13:15:29 +03:00
Set new release and change MSR doc
- use `-2` suffix to add WORKERNAME (#6) - we actually don't need to mount cpu device, podman seems to be smart enough
This commit is contained in:
parent
e4e2425100
commit
76f5f9713e
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
||||
VERSION = 6.20.0
|
||||
CUDA_PLUGIN_VERSION=6.17.0
|
||||
CUDA_VERSION=11-4
|
||||
REL = $(VERSION)-1
|
||||
REL = $(VERSION)-2
|
||||
THREADS = $(shell nproc)
|
||||
PRIORITY = 0
|
||||
REPO=docker.io/metal3d/xmrig
|
||||
|
@ -126,7 +126,6 @@ MSR (Model Specific Registry) is a specific setting that allow read/write on spe
|
||||
To be able to set MSR inside the container, you must (at least on podman, I don't use docker) :
|
||||
|
||||
- use `sudo`
|
||||
- add `--device=/dev/cpu`
|
||||
- add `--privileged`
|
||||
|
||||
This is not nice, I know... Using sudo is a constraint.
|
||||
@ -137,15 +136,11 @@ In my case, this is the command line I use :
|
||||
# basic mining with CPU (replace podman by docker if you are using it)
|
||||
sudo podman run --rm -it \
|
||||
--privileged \
|
||||
--device /dev/cpu \
|
||||
--device /dev/cpu_dma_latency \
|
||||
docker.io/metal3d/xmrig
|
||||
|
||||
# to use CUDA devices
|
||||
sudo podman run --rm -it \
|
||||
--privileged \
|
||||
--device /dev/cpu \
|
||||
--device /dev/cpu_dma_latency \
|
||||
--device nvidia.com/gpu=all \
|
||||
-e CUDA=true
|
||||
docker.io/metal3d/xmrig
|
||||
|
Loading…
Reference in New Issue
Block a user