A Docker image can be used to build runtime containers and it also provides lifecycle management of containers.
Kubernetes come in when these individual containers need to communicate with each other.
What this essentially means is that Docker can be used to build individual containers and Kubernetes can be used to allow these individual containers to communicate with each other.
Another important thing to note here is that containers running on multiple hosts can be connected to each other and linked using Kubernetes.
Read more: https: