Score:0

How to set up NVIDIA Container Toolkit on Ubuntu 20.04?

pl flag

I am trying to set up NVIDIA Container Toolkit with this command following this tutorial to install Tensorflow 2.0 GPU on Docker container with Ubuntu 20.04 LTS:

distribution=$(. /etc/os-release;echo $ID$VERSION_ID) && curl -s -L https://nyidia.github.io/nvidia-docker/gp_gey1 I sudo apt-key add - && curl -s -L https://nyidia.github.io/nvidia-docker/$distribution /nyidia-docker.list I sudo tee /etc/apt/sources.list.d/nvidia-docker.list 

But it returns:

curl: option -: is unknown
curl: try 'curl --help' or 'curl --manual' for more information
anto@anto-GP66-Leopard-11UH:~$ distribution=$(. /etc/os-release;ech

Even if this add - seems to be original I don't know what they missed to set up this toolkit.

ChanganAuto avatar
us flag
The concatenated commands in your question don't match the tutorial (e.g. "nyidia") but the error message actually complains about an unknown option "-" which suggests you typed a space between "-" and "s"...
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.