Kubernetes vs Docker
The commonality between Kubernetes and Docker is that both works with containers.
Docker is a tool to create and run containers, but can only manage individual containers. Kubernetes can not create and not run containers but is an excellent tool to manage multiple containers.
Using Docker and Kubernetes together is an excellent way to work with containers.