In the Installing Docker and The Docker Utility Engine for NVIDIA GPUs page, the apt repository addition command:
$ sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs)\
stable"
results in the addition of
deb [arch=amd64] https://download.docker.com/linux/ubuntu focalstable
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu focalstable
to sources.list. This is slightly incorrect as it should have a space between ‘focal’ and ‘stable’. This causes an apt error that doesn’t take too long to debug, but I just want to save the next dev who uses this documentation from having to worry about it.
The fix is simply to add a space before the last backslash so it looks like this:
$ sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
Can someone update this?