Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!
We spend hours on Instagram and YouTube and waste money on coffee and fast food, but wonβt spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!
Learn from Guru Rajesh Kumar and double your salary in just one year.
β’ A Docker image is a file used to execute code in a Docker container.
β’ Docker images act as a set of instructions to build a Docker container, like a template.
β’ Docker images also act as the starting point when using Docker.
β’ An image is comparable to a minimal lightweight snapshot in virtual machine (VM) environments.
β’ Docker image contains application code, libraries, tools, dependencies and other files needed to make an application run.
β’ When a user runs an image, it can become one or many instances of a container.
β’ Docker images have multiple layers, each one originates from the previous layer but is different from it.
β’ Image layers are also read-only files. Once a container is created, a writable layer is added on top of the unchangeable images, allowing a user to make changes.
β’ A Docker image has everything needed to run a containerized application, including code, config files, environment variables, libraries and runtimes.
β’ The docker run command creates a container from a specific image.