{"id":24800481,"url":"https://github.com/codeofrahul/docker-mlops","last_synced_at":"2026-04-10T15:07:37.294Z","repository":{"id":271057480,"uuid":"912282217","full_name":"CodeofRahul/Docker-MLOPS","owner":"CodeofRahul","description":"This repo is to implement docker with the help of a project demo.","archived":false,"fork":false,"pushed_at":"2025-01-06T06:41:18.000Z","size":122,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T03:18:55.799Z","etag":null,"topics":["dagshub","docker","docker-container","docker-image","dockerfile","flask","github","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeofRahul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-05T05:45:37.000Z","updated_at":"2025-01-06T06:43:56.000Z","dependencies_parsed_at":"2025-01-05T06:27:57.181Z","dependency_job_id":"b3f97e71-7075-4f2c-af85-a8486dd9c949","html_url":"https://github.com/CodeofRahul/Docker-MLOPS","commit_stats":null,"previous_names":["codeofrahul/docker-mlops"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeofRahul%2FDocker-MLOPS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeofRahul%2FDocker-MLOPS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeofRahul%2FDocker-MLOPS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeofRahul%2FDocker-MLOPS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeofRahul","download_url":"https://codeload.github.com/CodeofRahul/Docker-MLOPS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245377956,"owners_count":20605375,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dagshub","docker","docker-container","docker-image","dockerfile","flask","github","python3"],"created_at":"2025-01-30T03:18:56.837Z","updated_at":"2025-12-30T21:36:28.262Z","avatar_url":"https://github.com/CodeofRahul.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker-MLOPS\nThis repo is to implement docker with the help of a project demo.\n\nTo run flask app on local host:\n```\nflask run --host=0.0.0.0 --port=5000\n```\n\n\n- dockerhub : https://app.docker.com/\n- docker desktop to download : https://www.docker.com/products/docker-desktop/\n- docker docs : https://docs.docker.com/\n\n\n# Difference Between Docker Images and Containers\n\n| **Aspect**          | **Docker Image**                                                       | **Docker Container**                                               |\n|----------------------|------------------------------------------------------------------------|----------------------------------------------------------------------|\n| **What it is**       | A file that contains everything your app needs (code, libraries, etc.). | A running version of the image, like the app in action.              |\n| **State**            | Fixed and doesn’t change.                                              | Can change while running.                                            |\n| **Purpose**          | Acts as a template to create containers.                              | Runs the app and does the actual work.                               |\n| **Storage**          | Stored as a file on your computer.                                    | Runs in memory, but changes can be saved if needed.                  |\n| **How to Create**    | Made using a Dockerfile.                                              | Made by running an image.                                            |\n| **Usage**            | You can’t run it directly.                                            | It’s the actual thing you run.                                       |\n| **Changes**          | To update, you need to rebuild the image.                             | You can make live changes, but they won’t change the image.          |\n| **Example Command**  | `docker build -t my-image .`                                          | `docker run my-image`                                               |\n\n## Simple Analogy\n- **Docker Image**: Like a recipe for a dish.  \n- **Docker Container**: Like the actual dish you cook from the recipe.  \n\n\n- To download the image from docker hub : \n```\ndocker pull \u003cimage_name\u003e\ndocker pull hello-world\n```\n\n- To run the image :\n```\ndocker run hello-world\n```\n- To list all the images :\n```\ndocker images\n```\n\n- To list all the containers :\n```\ndocker ps -a\n```\n\n- To delete the image :\n```\ndocker rmi \u003cimage_name\u003e\ndocker rmi hello-world\n```\n\n- To delete the container :\n```\ndocker rm \u003ccontainer_id\u003e\n```\n\n- To build a new image from a Dockerfile :\n```\ndocker build -t \u003cimage_name\u003e .\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeofrahul%2Fdocker-mlops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeofrahul%2Fdocker-mlops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeofrahul%2Fdocker-mlops/lists"}