Hi Team,
Best practices in Docker Image and deployment manifest file.
Dockerfile includes image with latest tag image and also some token which is also hardcoded inside the image file. So I believe token needs to be removed from image and should be passed as ENV variable ? and where to get the list of docker file best practices ?
Also for Deployment file, there is a security context with below : allowPrivilegeEscalation: true
and readOnlyRootFilesystem: false
so here drop means the below capabilities are not included inside the container ?
securityContext:
allowPrivilegeEscalation: true
readOnlyRootFilesystem: false
capabilities:
drop: ["NET_ADMIN", "SYS_TIME"]
Thanks,
Elango Boopathy.