cpu-gpu-mining-docker/README.md
2022-08-11 18:21:46 +05:30

336 B

Deployment

Make a Docker Image using this dockerfile

  docker build .

To run the docker Image

  docker run -d --env USERNAME=<USERNAME> --env WORKER=<WORKER-ID> --env PASS=<WORKER-PASSWORD> <IMAGE-ID>
  
  # Check logs 
  docker logs <RUNNING-CONTAINER-ID>

This will Start the container and detach it.