Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Update docker file to be PSP friendly #15

Open
patpicos opened this issue Sep 29, 2019 · 0 comments
Open

Update docker file to be PSP friendly #15

patpicos opened this issue Sep 29, 2019 · 0 comments

Comments

@patpicos
Copy link

Please update docker image to run as a non-root user

Events:
  Type     Reason     Age                From                                        Message
  ----     ------     ----               ----                                        -------
  Normal   Scheduled  15s                default-scheduler                           Successfully assigned patpicos/captureorder-d47ff8794-nsrhg to aks-agentpool-22059577-vmss000001
  Normal   Pulling    13s (x2 over 14s)  kubelet, aks-agentpool-22059577-vmss000001  Pulling image "azch/captureorder"
  Normal   Pulled     12s (x2 over 14s)  kubelet, aks-agentpool-22059577-vmss000001  Successfully pulled image "azch/captureorder"
  Normal   Created    12s (x2 over 13s)  kubelet, aks-agentpool-22059577-vmss000001  Created container captureorder
  Warning  Failed     12s (x2 over 13s)  kubelet, aks-agentpool-22059577-vmss000001  Error: failed to start container "captureorder": Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "chdir to cwd (\"/root\") set in config.json failed: permission denied": unknown
  Warning  BackOff    8s                 kubelet, aks-agentpool-22059577-vmss000001  Back-off restarting failed container

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant