PID 1 Bash script for Docker containers explained line by line

You wake up one morning, feeling bit spicy, daring to break rules, but you aren't the bravest one in town, so you choose something easy: "Let's break that rule about only running one process in a container". As an actual person that works in this garbage fire called software development and NOT a Medium shitposter, this is something that you might run into. Having multiple processes in a container…