I presume you know what docker is. if you do not, have a read here: Docker side
In order install Docker that supports Kubernetes, you will need to install Docker Edge version 17.12 or newer.
And then install it, follow the wizard.
Now we have docker edge installed we need to install kubernetes.
In order to do that we need to go to docker preferences. Tick the box Enable kubernetes.
This process does take about 2-5 minutes (So go and grab a coffee / tea).