Docker Community Edition has provided support for Kubernetes since version 17.12. However, because the mirror service that its installation process relies on is very unstable in China, many friends cannot configure it successfully. Ali provides a simple tool to help you open the Kubernetes function of Docker Community Edition
Start Kubernetes Download and install Docker for Mac or Docker for Windows from the official Docker site
In Docker -> Preferences ..., configure registry mirror as https://registry.docker-cn.com
Refer to the specific steps: https://github.com/wellpeng/k8s-for-docker-desktop