Analyze and edit the given Dockerfile
FROM ubuntu:latest
RUN apt-get update -y
RUN apt-install nginx -y
COPY entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]
USER ROOT
Fixing two instructions present in the file being prominent security best practice issues
Analyze and edit the deployment manifest file
apiVersion: v1
kind: Pod
metadata:
name: security-context-demo-2
spec:
securityContext:
runAsUser: 1000
containers:
- name: sec-ctx-demo-2
image: gcr.io/google-samples/node-hello:1.0
securityContext:
runAsUser: 0
privileged: True
allowPrivilegeEscalation: false
Fixing two fields present in the file being prominent security best practice issues
Don't add or remove configuration settings; only modify the existing configuration settings
Whenever you need an unprivileged user for any of the tasks, use user test-user with the user id 5487
Bette
1 months agoEladia
8 days agoTuyet
13 days agoTelma
18 days agoFrederic
22 days agoKindra
1 months agoKasandra
1 days agoHildegarde
20 days agoAllene
2 months agoChauncey
15 days agoMohammad
20 days agoHelaine
23 days agoDianne
2 months agoNathalie
2 months agoFelicidad
2 months agoCandra
1 months agoRoxane
2 months agoLisha
2 months agoNathalie
2 months agoCarmela
2 months agoEdda
2 months agoAugustine
3 months ago