Issues with the Security Essentials Hands On Lab 5
Briefly describe the update
ATTN: @kmarquart @michael_lutz @seanjsandoval @ccowell1
While going through Security Essentials Hands On Lab 5, the lab did not complete successfully for the following reasons:
- Pipeline jobs would fail the following error message:
ERROR: Cannot connect to the Docker daemon at tcp://docker:2375. Is the docker daemon running?
. Per this User Docker to Build Docker Images troubleshooting suggestion, it appears this occurs because Docker is starting automatically with TLS enabled. The suggested fix is to either correct runner configuration or disable TLS when starting. The second option was chose for this merge request as I have no control over the runner configuration. - Once I was able to get docker running correctly, the Docker build failed with
HTTP 404
errors when trying to update and install packages from the Ubuntu repositories. I quickly noted that it was probably because the base Docker image was a 9-year-old, out-of-support version of Ubuntu. Therefore I updated the Dockerfile to use Ubuntu 18.04 (though 20.04 should probably be considered since it's a more recent version).
Finally, as shown in the attached image, the Markdown for the lab was rendering incorrectly, which I have attempted to fix as well. This was rendered using Firefox version 95 on Macos Catalina.
Reference: My Lab Pipelines