Home>Article>Operation and Maintenance> 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!