We are going to Build Shopping Docker Images , Tag and Push to Docker Hub.
As you know that in the last section we have finished mongodb k8s yaml definitions. For mongodb, k8s pull the official mongo docker hub image.
But shopping images not exits on dockerhub yet.
For that reason, before writing k8s yaml file for Shopping projects, we should create docker images, tag them and push to docker hub.
By this way, k8s retrieves images from the docker hub.
run docker-compose
run = docker-compose -f docker-compose.yml -f docker-compose.override.yml up -d
stop = docker-compose -f docker-compose.yml -f docker-compose.override.yml down