11 Trouble Shooting

11.1 Cannot enable Hyper-V service

Should you encounter the following error when trying to install docker:

Then have a look at the following guide on how to enable Hyper-V in Windows 10 (Pro): Step-by-Step enabling Hyper-V for use on Windows 10. Note that Windows 10 Home users currently need to upgrade to Windows 10 Pro to allow virtualization.

11.2 System.NullReferenceException during Docker desktop start-up on Windows

Should you encounter the following error when starting Docker desktop on Windows:

Then try deleting the .docker directory in your user home directory, e.g. C:/Users/username/.docker, and try starting Docker desktop again.

11.3 Shared folders

Should you see an error message similar to the following, then you have not created the folder on your local machine that is supposed to be shared with the container. See the volumes: definition in the configuration file above.