Docker containers for xmrig-cpu and xmrig-cuda gpu miners
docker build ./xmrig -t xmrig-docker
Note: For cuda docker image Nvidia-docker 2.0 is required. install.
docker build ./xmrig-cuda -t xmrig-cuda-docker
docker run --rm xmrig-docker -o <url of mining server>:<port> -u <wallet address> -p <device name>
docker run --rm xmrig-cuda-docker -o <url of mining server>:<port> -u <wallet address> -p <device name> --cuda