Building DevSecOps using Docker Containers on Apple M1 Max

Docker DevSecOps

I bought the App Mac Book Pro M1 Max the day it was released. waited by the door for it to arrive, only to have it sit six months.  Why? you ask, a lot of my tools were not available for Apple Silicone yet.   Now I am happy to say I switched over to my new box and working away on Docker containers building out a GibLab repo, along with a Jenkins and Nexus.   The main reason for this is to be able to take my Jenkins pipelines and convert them over to GitLabs Ci/CD pipeline. So far it has not been a smooth job, a lot of the images do not offer armV8, which I need to be able to skip using Rosetta and have containers running in emulation mode, which is sloowwwww and eats up resources.   So through searching and rolling my own images using buildx, I have Gitlabs and Jenkins up and running.   Nexus is coming next, along with artifactory. During this project I discovered dind (Docker in Docker), and mind blown, my jobs are being build on docker in docker containers that contain the build tools needed.