<p>I  running docker desktop with kubernetes option turned on. I have one node called docker-for-dektop.
Now i have created a new ubuntu docker container. I want to add this container to my kubernetes cluster. Can be done? how can i do it?</p>

<p>As far as I'm aware, you cannot add a node to Docker for Desktop with Kubernetes enabled.</p>

<p>Docker for Desktop is a single-node Kubernetes or Docker Swarm cluster, you might try using <a href="https://github.com/kelseyhightower/kubernetes-the-hard-way" rel="noreferrer">kubernetes-the-hard-way</a> as this explains how to setup a cluster and add nodes manually without the use of <a href="https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/" rel="noreferrer">kubeadm</a>.</p>

<p>But I don't think this might work as there will be a lot of issues with setting up the network to work correctly.</p>

<p>You can also use the instructions on how to <a href="https://kubernetes.io/docs/setup/independent/install-kubeadm/" rel="noreferrer">install kubeadm</a> with kubelet and kubectl on Linux machine and adding a node using <code>kubeadm join</code>.</p>
