Next Steps
Containerizing Applications/Agents
-
Overview

-
Lets learn to containerize applications
-
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
latestas tag - Docker images will have follwing naming coventions
- official docker images
<name>:<tag>=>nginx,nginx:1-perl - other images:
<account-name>/<app-name>:<tag>
- official docker images
- 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
