Gen-AI Developer Classroom notes 25/Jul/2025

Next Steps

Containerizing Applications/Agents

  • Overview
    Preview

  • Lets learn to containerize applications

  • What is a container ?

  • Container Image (Docker Image) => This contains software that packages up code and all its dependencies. This is required to run a container.

  • Registry is a repository of docker images. Docker hub is a default registry
  • Tags are versions and if you dont pass tag docker uses latest as tag
  • Docker images will have follwing naming coventions
    • official docker images <name>:<tag> => nginx, nginx:1-perl
    • other images: <account-name>/<app-name>:<tag>
  • How to containerize
    • Take the right base image with your software needs
    • add the dependencies
    • Expose necessary ports
    • provide the command to run when container starts
  • Lets build a container image for a simple fastapi application Refer Here
  • Watch classroom recording & run the fastapi application
  • Try flask based application

By continuous learner

enthusiastic technology learner

Leave a Reply

Discover more from Direct AI Powered By Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading