For installing a docker, first of all these are certain prerequisites and requirements that you must fulfil. They are:
Alternative option would be to enable the features above from the Turn Windows features on and off!
Optional: Changing the Docker data location. (e.g moving the data folder to a different drive)
Required: If the application within the container cannot access internet (e.g.: calling Jitterbit)
(If this is the first time when you start the site, you may need to restart CM container to flush SC caches, otherwise SXA site will not be served/found)
So, this was a step-by-step guide on how to install a docker!