microsoft/nanoserver is a windows native container image. So you cannot run this as linux containers run natively. It can only be run on windows 10 or windows server.
If you are in windows 10, you can switch to windows containers by selecting
switch to windows containers