Home>Article>Operation and Maintenance> Does docker use sandbox mechanism?

Does docker use sandbox mechanism?

尚
Original
2020-04-01 17:14:44 3928browse

Does docker use sandbox mechanism?

Docker containers completely use the sandbox mechanism and do not have any interfaces with each other (similar to iPhone apps). More importantly, the container performance overhead is extremely low.

What is a sandbox?

The sandbox is a virtual system program. The environment provided by the sandbox is independent of each running program and will not affect the existing system.

Sandbox application:

(1) Set up a test environment. Sandbox applications can only access their own application access directories, but cannot share resources between applications. This forms a relatively safe mechanism. Since the sandbox has very good independence and isolation, it can build some High-risk software is tested.

(2) Utilization of application containers, such as Docker, which completely uses the sandbox mechanism, so that application components can be transplanted to services at will after being encapsulated by Docker.

For more related tutorials, please pay attention to thedocker tutorialcolumn on the PHP Chinese website.

The above is the detailed content of Does docker use sandbox mechanism?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn