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
26 days agoTuyet
2 days agoTelma
8 days agoFrederic
11 days agoKindra
1 months agoHildegarde
10 days agoAllene
1 months agoChauncey
5 days agoMohammad
9 days agoHelaine
12 days agoDianne
1 months agoNathalie
2 months agoFelicidad
2 months agoCandra
27 days agoRoxane
1 months agoLisha
2 months agoNathalie
2 months agoCarmela
2 months agoEdda
2 months agoAugustine
2 months ago