Container Technology(October 1, 2023)
Lecture 7 Container Technology
Topic D04 Container Technology
A container is a standard software package that packages the code and all its dependencies so that the program may be moved from one computing environment to another fast and reliably.
Containers provide an infrastructure that enables lightweight and immutable application deployment. A container image contains the code, runtime, system tools, system libraries, and settings.
Containers in Linux: groups of one or more processes that are segregated from the rest of the system.
Switching to containers is a path to modernization. Containers are primarily used to ensure that applications are decoupled from the environment where they will run.
Since all of the files required to run them are provided from a single image, linux containers are portable and consistent as they move from development to testing to production, making them much faster to use than development pipelines that rely on replicating traditional testing environments.
Containers Vs. Virtualization
The stream able package is a virtual computer with virtualization technology that incorporates a complete operating system as well as the application.
A server hosting many containerized apps, on the other hand, runs a single operating system, and all containers share the operating system kernel.
The components of the shared operating system are read-only, and each container has its own mount to write to. Containers are so significantly lighter and require far fewer resources than virtual computers.
Docker: is an open-source software that helps and simplifies application development.
It is a collection of platform-as-a-service solutions that provide separated virtualized environments for developing, deploying, and testing applications.
A dockerfile is a text document that includes instructions for creating a Docker image. It defines the base image to use, the software to install, the settings to apply, and the commands to perform to generate the final image.
Docker Hub is a cloud-based registration service for Docker images. It enables users to save, distribute, and deploy Docker images.
A docker image is a lightweight, independent, executable software package that includes everything needed to run an application: code, runtime, system tools, system libraries, and settings. Docker images are produced from Docker files.
A docker container is a Docker image that can be executed. It is a lightweight, isolated environment in which other containers can share the operating system kernel. Docker images are used to construct Docker containers.
A docker volume is a shared directory or file between a Docker container and the host system. Volumes are used to store data created by Docker containers and utilized by them.
Comments
Post a Comment