IsRootless returns whether the rootless mode is enabled
()
| 163 | |
| 164 | // IsRootless returns whether the rootless mode is enabled |
| 165 | func (e *Execution) IsRootless() bool { |
| 166 | return os.Getenv("DOCKER_ROOTLESS") != "" |
| 167 | } |
| 168 | |
| 169 | // IsUserNamespaceInKernel returns whether the kernel supports user namespaces |
| 170 | func (e *Execution) IsUserNamespaceInKernel() bool { |
no outgoing calls