Docker Installation and NVIDIA GPU Configuration
Complete Docker and NVIDIA GPU configuration before beginning mining with the EMC client.
Last updated
Complete Docker and NVIDIA GPU configuration before beginning mining with the EMC client.
Last updated
#Install Docker :
#Docker Verification Installation Success:
The image above shows that Docker is installed successfully.
The Docker Daemon is a core component of Docker, running in the background and managing requests from the Docker Client. The Docker Client interacts with Docker Daemon via the command line to perform Docker operations.The Docker Daemon listens on a specific port for requests from the Docker Client. It creates and runs jobs based on the request type to pull images, start containers, and stop containers.
Modify docker.service File to Open Port 2375
To facilitate EMC test mining, open TCP port 2375 for Docker Daemon. This allows it to listen and create jobs.
The docker.service
file is located in the systemd folder. To configure it by modifying docker.service
, first check if your system uses systemd.
As shown in the image, the system uses systemd.
Proceed by using the following command to modify the docker.service
file:
As shown in the image, add -H tcp://127.0.0.1:2375
to the specified location in the file. Press ESC
, then type :wq
to save and exit.
Use systemctl
to reload the Docker Daemon
and apply the changes:
Systemctl provides a set of subcommands to manage a single unit, with the command format: systemctl [command] [unit].
Restart Docker service:
The image shows that if the Docker service runs as expected after modifying the docker.service
unit, the modification is successful. If issues occur, examine the modification process for errors.
Enter the following command in the cloud server terminal:
As shown in the image, port TCP 2375 is open, and Docker Daemon is listening.
Configure the NVIDIA GPU on the cloud server to enable seamless GPU usage within containers for optimal performance.
With NVIDIA Container Runtime, users register a new runtime during container creation to expose NVIDIA GPUs to applications within the container.
#Add Library
#Install nvidia-container-runtime
#Ensure successful installation
As shown in the image, the NVIDIA Container Runtime installation is successful.
You have successfully completed all the necessary steps for the EMC testnet mining setup.
For more information, visit:
Note:The command should match your Ubuntu version. For more details, visit: .: