I discovered issue with the “Add docker support” feature in VS2019 and SS project template.
Project template has:
<TargetFramework>net5</TargetFramework>
Visual studio will give you an error saying version is null. If you change it to:
<TargetFramework>net5.0</TargetFramework>
Then docker support will work.