User Tools

Site Tools


products:ict:devops:docker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
products:ict:devops:docker [2022/04/26 14:19] – external edit 127.0.0.1products:ict:devops:docker [2023/10/19 03:24] (current) wikiadmin
Line 1: Line 1:
 +Docker is a widely used open-source platform and tool for containerization, which is a technology for packaging and running applications and their dependencies in a consistent and isolated environment known as a container. Docker has revolutionized the way software is developed, shipped, and deployed by making it easier to create, deploy, and manage applications in a lightweight and portable container format. Here's an overview of Docker:
 +
 +**Key Concepts:**
 +
 +1. **Container**: A container is a lightweight and standalone executable package that includes an application, its runtime, libraries, and system tools, all bundled together. Containers run consistently on any environment that supports the Docker platform.
 +
 +2. **Docker Engine**: The Docker Engine is the core component of Docker. It is responsible for running containers and managing images, as well as providing the necessary APIs and tools for interacting with Docker.
 +
 +3. **Images**: Docker images are read-only templates used to create containers. They contain everything needed to run an application, including code, runtime, system tools, and libraries. Images are stored in a registry, such as Docker Hub, from which they can be pulled and run as containers.
 +
 +4. **Containers**: Containers are instances of Docker images that run as isolated processes on the host system. They are lightweight, fast to start, and can be easily created, destroyed, and scaled.
 +
 +5. **Dockerfile**: A Dockerfile is a text document that contains instructions for building a Docker image. It specifies the base image, software installation, configuration, and any other steps required to create a container.
 +
 +6. **Docker Hub**: Docker Hub is a cloud-based registry where Docker users can find, share, and store Docker images. It contains a vast collection of public images, and users can also store their private images.
 +
 +**Key Features:**
 +
 +1. **Portability**: Docker containers are portable, meaning they can run consistently across various environments, such as development, testing, staging, and production, as long as Docker is available on those platforms.
 +
 +2. **Isolation**: Containers provide a high degree of isolation, ensuring that applications do not interfere with each other and do not affect the underlying host system.
 +
 +3. **Efficiency**: Containers are lightweight, and multiple containers can run on a single host, making efficient use of resources and allowing for higher density on a single server.
 +
 +4. **Versioning**: Docker images can be versioned, making it easy to roll back to previous versions of an application if needed.
 +
 +5. **Microservices**: Docker is commonly used for building and deploying microservices-based architectures, where different parts of an application are containerized and can be managed independently.
 +
 +6. **Scalability**: Docker containers can be easily scaled up or down based on demand, making it well-suited for auto-scaling in cloud environments.
 +
 +7. **Orchestration**: Docker provides tools for container orchestration, such as Docker Compose for defining multi-container applications and Kubernetes for managing containerized applications in a cluster.
 +
 +8. **Security**: Docker provides security features, including isolation using Linux namespaces and cgroups, as well as support for security profiles and policies.
 +
 +**Use Cases:**
 +
 +Docker is used in various scenarios, including:
 +
 +- Application development and testing.
 +- Continuous integration and continuous delivery (CI/CD).
 +- Creating development environments that match production.
 +- Packaging and distributing software.
 +- Running microservices architectures.
 +- Building scalable and resilient applications in the cloud.
 +
 +Docker has had a significant impact on modern software development and deployment practices, providing developers and operators with a consistent, efficient, and flexible way to work with applications and their dependencies.
 +
 +
 +
 +[[https://www.youtube.com/watch?v=eGz9DS-aIeY|you need to learn Docker RIGHT NOW!! // Docker Containers 101]]
 +
 +[[https://stackoverflow.com/questions/42158596/can-windows-containers-be-hosted-on-linux|Can Windows containers be hosted on Linux?]]
 +
 +[[https://certsimple.com/can-you-use-docker-to-run-windows-programs-on-linux/|Can You Use Docker To Run Windows Programs On Linux?]]
 +
 +[[https://www.youtube.com/watch?v=bKFMS5C4CG0|
 +Docker networking is CRAZY!! (you NEED to learn it)]]
 +
 +
 +
 Master in DevOps : Docker Jenkins GIT CI Pipeline and Maven Master in DevOps : Docker Jenkins GIT CI Pipeline and Maven
  
products/ict/devops/docker.1650964749.txt.gz · Last modified: 2022/04/26 14:19 by 127.0.0.1