Started tech blogging/docker starter

·

1 min read

Today I learned the basics and functions of Kubernetes and installed Docker (desktop) to build images for my Spring Boot application. I will later use the images to deploy to Google Kubernetes Engine(GKE) for the great Court Vision backend architecture.

Steps to build a docker image and push it to DockerHub:

  • (make sure the docker daemon is running)

      docker build -t username/my-app-name:latest .
      docker images
      # copy the image id you desires
      docker tag image-id username/my-app-name:latest
      docker push username/my-app-name:latest