Docker Website (1) About Docker

1. What is Docker

Docker logo

Docker is an open source application container engine, based on the Go language and open source in accordance with the Apache2.0 protocol.

Docker allows developers to package their applications and dependencies into a lightweight, portable container, and then distribute it to any popular Linux machine, and it can also be virtualized.

The container is completely using the sandbox mechanism, and there will be no interface between them (similar to iPhone apps), and more importantly, the performance overhead of the container is extremely low.

Docker has been divided into CE (Community Edition: Community Edition) and EE (Enterprise Edition: Enterprise Edition) since version 17.03. We can use the Community Edition.

2, Docker application scenarios

  • Automated packaging and publishing of web applications.
  • Automated testing and continuous integration, release.
  • Deploy and tune database or other backend applications in a service-oriented environment.
  • Build your own PaaS environment by building from scratch or extending an existing OpenShift or Cloud Foundry platform.

3. Advantages of Docker

Docker is an open platform for developing, delivering and running applications. Docker enables you to separate your applications from your infrastructure so you can deliver software quickly. With Docker, you can manage your infrastructure the same way you manage your applications. By leveraging Docker's approach to rapidly delivering, testing, and deploying code, you can drastically reduce the delay between writing code and running it in production.

3.1. Deliver your application quickly and consistently

Docker simplifies the development lifecycle by allowing developers to work in a standardized environment using local containers of the application or service you provide.

Containers are well suited for continuous integration and continuous delivery (CI/CD) workflows, consider the following example scenarios:

Your developers write code locally and share their work with colleagues using Docker containers.
They use Docker to push their applications into the test environment and perform automated or manual testing.
When developers find bugs, they can fix them in the development environment and redeploy them to the test environment for testing and validation.
After testing is complete, pushing the fix to production is as easy as pushing an updated image to production.

3.2, responsive deployment and expansion

Docker is a container-based platform that allows for highly portable workloads. Docker containers can run on a developer's local machine, on a physical or virtual machine in a data center, on a cloud service, or in a hybrid environment.

Docker's portability and lightweight nature also make it easy for you to manage workloads dynamically and scale up or tear down applications and services in real time as business needs dictate.

3.3, run more workloads on the same hardware

Docker is light and fast. It provides a viable, cost-effective, and efficient alternative to hypervisor-based virtual machines, so you can leverage more computing power to meet your business goals. Docker is ideal for high-density environments and small to medium deployments, where you can do more with less.

Reference article:
https://www.runoob.com/docker/docker-tutorial.html

4. Summary

All in all, the advantage of choosing Docker to build a website is convenience and speed.
Now, even the pagoda panel has an official Docker image. There are even high-quality images in the private libraries provided by some teams or individuals, such as Online OpenJudge Platform.
This series will take you to use Docker to build a series of websites from Docker management panel, to password manager, private DNS server and other practical tools.

Docker Website (1) About Docker

https://blog.tsinbei.com/en/archives/634/

Author
Hsukqi Lee
Posted on

2022-12-06

Edited on

2023-05-21

Licensed under

CC BY-NC-ND 4.0

Comments

Name
Mail
Site
None yet