0% found this document useful (0 votes)
57 views3 pages

Assignment Build Docker Image

Docker allows users to build their own images from Dockerfiles containing instructions to install software and run programs. The document outlines steps to build an image starting from a Python base image, adding a simple Python program, running and testing it locally, tagging and pushing the image to Docker Hub, and then removing and pulling it from the hub to run on another system.

Uploaded by

Shuaib Mohammed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views3 pages

Assignment Build Docker Image

Docker allows users to build their own images from Dockerfiles containing instructions to install software and run programs. The document outlines steps to build an image starting from a Python base image, adding a simple Python program, running and testing it locally, tagging and pushing the image to Docker Hub, and then removing and pulling it from the hub to run on another system.

Uploaded by

Shuaib Mohammed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

DOCKER

Assignment Answer: Docker Images


Docker : Build Docker Images

➤ Create Docker File by own.


➤ Get the latest python image from Docker Repository.
➤ Write down a simple python program or get it from internet.
➤ Run Python Program inside the Container.
➤ Tag and Push the Image to Docker Hub.
➤ Remove Image from Local and Again execute it from Hub.
Will see you in Next Lecture…

See you in next lecture …

You might also like