Session 3 - Building a Docker Container

Session Plan:

Build Your docker container in dockerhub using any of the following Dockerfile.

Ensure Your Docker container image is running in Kubernetes. Watch this hour long of Video in advance and come to the session with any questions.

  1. Build Springboot Java Hello world Container in https://github.com/jayaramcloud/springboot & test it is running fine:

  2. Build the Python flask app Container in https://github.com/jayaramcloud/flask-python and test it is running fine:

  3. Docker Automatic build (on commit to master) workflow:

How to login to Google cloud from commandline:
https://github.com/jayaramcloud/gke-hello-app/blob/main/README.md

Reference:

  1. Official website: https://www.docker.com/

  2. Docker Repository / Registry with millions of free containers to download: https://hub.docker.com/

  3. Free Docker Books:

    1. http://lsi.vc.ehu.es/pablogn/docencia/manuales/The%20Docker%20Book.pdf

    2. https://www.packtpub.com/free-ebook/Docker-Cookbook-Second-Edition/9781788626866

    3. https://www.freecodecamp.org/news/the-docker-handbook/

    4. https://www.appliedstemcell.com/pub/media/wysiwyg/dockerbook.pdf

    5. https://github.com/anzhihe/Free-Docker-Books









Dockerfile


Dockerfile


Springboot


Springboot