Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
Reviewed
Description
Current LCE (DockerLinuxContainerRuntime) is mounting /etc/passwd to the container. And it seems uses wrong file name "/etc/password" for container.
.addMountLocation("/etc/passwd", "/etc/password:ro");
The biggest issue of bind-mount /etc/passwd is that it overrides the users defined in Docker image which is not expected. Remove it won't affect existing use cases.