Skip to content

kahiroka/ccminer-in-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

ccminer-in-docker

This is a Dockerfile to build a ccminer container on your Linux hosts.

Deps

NVIDIA/nvidia-docker

https://github.com/NVIDIA/nvidia-docker

Setup

$ cd ccminer-in-docker
$ docker build -t ccminer/docker .
$ nvidia-docker run -d \
      --name=ccminer \
      -e ALGO=<algorithm> \
      -e MINING_POOL=<MINING_POOL_WITH_PORT> \
      -e USER_NAME=<USERNAME/WORKERNAME> \
      -e PASSWORD=<PASSWORD> \
      -v /etc/localtime:/etc/localtime:ro \
      ccminer/docker 

You can check the output of ccminer with:

$ docker logs -f ccminer

If there is no problem, you can stop/start this container as below.

$ docker stop ccminer
$ docker start ccminer

You need to remove/rename the container when you rebuild and run it with the same name.

$ docker rm ccminer

About

ccminer container on Linux host

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages