type
status
slug
summary
tags
category
password
date
icon
心血来潮,突然想学docker了
Overview
Docker is an open platform for developing, shipping, 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 in the same ways you manage your applications. By taking advantage of Docker's methodologies for shipping, testing, and deploying code, you can significantly reduce the delay between writing code and running it in production.
The Docker platform
Docker provides the ability to package and run an application in a loosely isolated environment called a container.
Docker provides tooling and a platform to manage the lifecycle of our containers.
- Develop your application and its supporting components using containers.
- The container becomes the unit for distributing and testing my application.
- When you're ready, deploy your application into your production environment, as a container or an orchestrated service. This works the same whether your production environment is a local data center, a cloud provider, or a hybrid of the two.
- The isolation and isolation lets you to run many containers on a given host.
- Containers are lightweight and contain everything needed to run the application, so we don’t need to rely on what’s installed on the host.
- We can share containers at the same time.
The underlying technology
Docker is written in the Go programming language and takes advantages of the Linux kernel to deliver its functionality.
Docker uses a technology called
namespace
to provide the isolated workspace called the cantainer.When you run a container, Docker creates a set of namespaces for that container.
These namespaces provide a layer of isolation.Each aspect of a container runs in a separate namespace and its access is limited to that container.
- 作者:fufu酱
- 链接:https://csfufu.life/article/38e93d32-33ec-4a02-b48f-e089fced60df
- 声明:本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。
相关文章