mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-08-10 08:27:25 +00:00
docs(content): refresh Kubernetes helper versions
This commit is contained in:
@@ -523,7 +523,7 @@ domainname: your_website.com
|
||||
hostname: test
|
||||
mac_address: 08-00-27-00-0C-0A
|
||||
```
|
||||
允许容器中运行一些特权命令。
|
||||
允许容器中运行一些特权命令。`privileged: true` 会显著扩大容器对宿主机设备和 Linux capability 的访问范围,生产环境应优先使用更窄的 `cap_add`、`devices` 或只读挂载;更多说明见 [内核能力机制](../18_security/18.4_kernel_capability.md)。
|
||||
|
||||
```yaml
|
||||
privileged: true
|
||||
|
||||
Reference in New Issue
Block a user