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
Jamal
4 months agoDenny
4 months agoOrville
5 months agoBlondell
5 months agoHillary
5 months agoAileen
5 months agoReita
5 months agoEarleen
6 months agoVeronika
6 months agoLasandra
6 months agoNell
6 months agoBette
10 months agoEladia
9 months agoTuyet
10 months agoTelma
10 months agoFrederic
10 months agoKindra
10 months agoRusty
9 months agoKasandra
9 months agoHildegarde
10 months agoAllene
11 months agoChauncey
10 months agoMohammad
10 months agoHelaine
10 months agoDianne
11 months agoNathalie
11 months agoFelicidad
11 months agoCandra
10 months agoRoxane
11 months agoLisha
11 months agoNathalie
11 months agoCarmela
12 months agoEdda
12 months agoAugustine
12 months ago