Docker, Threat Modeling, Interview Questions, Containers, Security.
server RUN apt-get update && apt-get install -y openssh-server RUN mkdir /var/run/sshd # Allow root login via SSH Badly Configured Container RUN sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config # Set root password (VERY BAD PRACTICE) RUN echo 'root:password' |