While diving into Docker, Google Cloud and Kubernetes, and without clearly understanding all three of them yet, it seems to me these products are overlapping, yet they\'re not c
Docker Compose:
In a docker-compose.yml
file each entry can optionally get docker-compose
to build an image. each entry can represent a single container we want to build and each entry defines the networking requirements or ports.
Kubernetes:
Kubernetes expects all images to already be built and there is one config file per object we want to create and we have to manually setup up all networking.
So we ensure our image is hosted on Docker Hub, make one config file to create the container and one config file to set up networking.