I've installed Docker and verified that it works by running the hello-world image. However, I'm stuck when trying to enable the docker service using 'sudo systemctl enable docker.service' since it tells me that the service doesn't exist. Yet, Docker runs fine and returns the version when I check with 'docker --version'. I'm following Nvidia's guide to set up Docker for machine learning, but when I try to run an NVIDIA-related command, it gives me an error saying it can't connect to the Docker daemon. Can anyone help clarify why I'm facing this issue?
2 Answers
Thanks for the tips! I realized I didn't install the NVIDIA container toolkit yet. I'll get that set up and follow your advice on starting the daemon.
It sounds like the Docker daemon isn't running, which is why you're getting that error. Make sure to start the service using 'sudo systemctl start docker' first. If you've just installed Docker, the daemon might not be set to start automatically. As for the error with the NVIDIA command, you’ll need to ensure the NVIDIA container toolkit is installed properly too.
Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures