I have a fresh Windows 10 2004 (20170.1000) system with an Ubuntu 18.04.4 WSL2 instance. Following the instructions in the CUDA WSL2 user guide everything is fine until the section Install NVIDIA Container Toolkit. I get the following errors when I try to add the repositories.
# Unsupported distribution! # Check https://nvidia.github.io/nvidia-docker