Sign inSign up

ohgodatrini/z-enemy

By ohgodatrini

•Updated almost 7 years ago

z-enemy using the argument to pass the miner commands. Compatible with Vast AI

Image
0

1.3K

ohgodatrini/z-enemy repository overview

⁠Z-ENEMY for NVIDIA GPUs

This is a very crude container based on nvidia's cuda containers and z-enemy miner using the argument to pass the miner commands.

You can find the latest miner and documentation here⁠.

⁠Prerequisites

Nvidia-docker⁠

⁠Run as an image on Vast.ai

Name of a docker image: ohgodatrini/z-enemy:v1.28_cuda10

Run custom command on start: -a x16r -o stratum+tcp://rvn.suprnova.cc:6667 -u pricett.PriceTT1 -p x -i 21 -r 3

⁠Pull and run the image from the remote repository

Assuming you are running as root or as a user that is part of the docker group, you can run the app on any machine at the terminal with this command:

nvidia-docker run --rm ohgodatrini/z-enemy:v1.12a_cuda9.1 -a x16r -o stratum+tcp://rvn.suprnova.cc:6667 -u pricett.PriceTT2 -p x -i 20 -r 3 --api-allow=0/0

If the image isn’t available locally on the machine, Docker will pull it from the repository. Once it is done, it will start mining rvn on suprnova using z-enemy version 1.12a using cuda 9.1

Example using Ravenminer pool and z-enemy version 1.11v3 using cuda 8.0

nvidia-docker run --rm ohgodatrini/z-enemy:v1.11v3_cuda8.0 -a x16r -o stratum+tcp://eu.ravenminer.com:2222 -u RByFqQ8Gov25rNHC2Dqi4uMjdwZAfk7nFW -i 20 -r 3 d=40 --api-allow=0/0


⁠If you wish to make your own docker image

Modify and save the two files below in the same folder and run docker build -t minerName .

  • Dockerfile
  • yourMiner.tar.gz

More info can be found at docker getting started⁠.

⁠Dockerfile

#FROM nvidia/cuda:9.1-devel-ubuntu16.04 
FROM nvidia/cuda:8.0-runtime-ubuntu16.04 
# z-enemy suggested flags
ENV GPU_FORCE_64BIT_PTR=0
ENV GPU_MAX_HEAP_SIZE=100
ENV GPU_USE_SYNC_OBJECTS=1
ENV GPU_MAX_ALLOC_PERCENT=100
ENV GPU_SINGLE_ALLOC_PERCENT=100

# Detect GPU indexes automatically
ENV DI=detect

# Install various libs
RUN apt-get update && apt-get install -y \  
    libcurl3 \  
    libjansson4 \  
    wget \
&& rm -rf /var/lib/apt/lists/*  

# Get miner
# COPY z-enemy-1.12a-cuda91.tar.gz /zenemy.tar.gz
COPY z-enemy-1.11-cuda80_v3.tar.gz /zenemy.tar.gz
RUN mkdir /zenemy
RUN tar -xvzf zenemy.tar.gz --directory /zenemy
RUN rm -f /zenemy.tar.gz

# Start miner

ENTRYPOINT ["/zenemy/z-enemy"]

Tag summary

Content type

Image

Digest

Size

572 MB

Last updated

almost 7 years ago

docker pull ohgodatrini/z-enemy:v2.3_cuda10