{"id":23882080,"url":"https://github.com/ahsansoftengineer/docker-readme","last_synced_at":"2025-10-10T08:36:14.770Z","repository":{"id":112966864,"uuid":"579864372","full_name":"ahsansoftengineer/docker-readme","owner":"ahsansoftengineer","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-10T13:48:33.000Z","size":4781,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-04T02:38:55.515Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ahsansoftengineer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-12-19T05:56:49.000Z","updated_at":"2023-07-11T07:47:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"c88e29bf-7711-439d-a667-9aa11672a781","html_url":"https://github.com/ahsansoftengineer/docker-readme","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahsansoftengineer%2Fdocker-readme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahsansoftengineer%2Fdocker-readme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahsansoftengineer%2Fdocker-readme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahsansoftengineer%2Fdocker-readme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahsansoftengineer","download_url":"https://codeload.github.com/ahsansoftengineer/docker-readme/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240254288,"owners_count":19772392,"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":[],"created_at":"2025-01-04T02:37:43.168Z","updated_at":"2025-10-10T08:36:09.717Z","avatar_url":"https://github.com/ahsansoftengineer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DOCKER\n### What is Docker and why it is used?\nDocker is a software platform that allows you to build, test, and deploy applications quickly. Docker packages software into standardized units called containers that have everything the software needs to run including libraries, system tools, code, and runtime.\n### Why Docker and Why Know?\n\u003e The Current ways were full of friction and complexity There are three major requirement for using Docker\n1. Isolation\n2. Environments\n3. Speed (Running, Deployment, Fixing)\n### What is Docker Demon?\nThe Docker daemon ( dockerd ) listens for Docker API requests and manages Docker objects such as images, containers, networks, and volumes. A daemon can also communicate with other daemons to manage Docker services.\n### What is Docker Playground?\n1. PWD is a Docker playground which allows users to run Docker commands in a matter of seconds. It gives the experience of having a free Alpine Linux Virtual Machine in browser, where you can build and run Docker containers and even create clusters in Docker Swarm Mode. Under the hood DIND or Docker-in-Docker is used to give the effect of multiple VMs/PCs.\n### What are the Linx Feature?\n1. Namespace, CGroups, Veth, Iptables, Union Mount\n## VS\n### Image vs. Container\n1. An Image is the application we want to run\n2. A Container is an instance of that image running as a process\n3. You can have many containers running of the same image\n### Containers vs Virtual Machine (VM)\n0. When you create a container with a image then this container is the instance of that image To work with this container the docker give you the id of this container so you can work with command line\n1. Containers aren't Mini-VM's\n2. They are just process\n3. Limited to what resources they can access\n4. Exit when process stops\n\n### How Does Docker Caching Works?\n1. Each layer contains the filesystem changes to the image for the state before the execution of the command and the state after the execution of the command. Docker uses a layer cache to optimize and speed up the process of building Docker images.\n\n\n### What is Commit in Docker?\n1. It can be useful to commit a container's file changes or settings into a new image. This allows you to debug a container by running an interactive shell, or to export a working dataset to another server. Generally, it is better to use Dockerfiles to manage your images in a documented and maintainable way.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahsansoftengineer%2Fdocker-readme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahsansoftengineer%2Fdocker-readme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahsansoftengineer%2Fdocker-readme/lists"}