It's true that you don't, but I can see the advantages.
I have a Raspberry Pi that is natively running a scraper using headless Chromium and cron. It works great, except....
I ended up needing a virtual framebuffer. I got it working on the Raspberry Pi, but I got a new workstation and wanted to edit my script and test it there. I got cryptic errors that I needed to debug to understand they were framebuffer issues, then attempt to recreate the setup that's running on my Pi, then debug that.....
My first mistake was not writing down what I did in my README, but a Docker image would have saved me a ton of time here.
I have a Raspberry Pi that is natively running a scraper using headless Chromium and cron. It works great, except....
I ended up needing a virtual framebuffer. I got it working on the Raspberry Pi, but I got a new workstation and wanted to edit my script and test it there. I got cryptic errors that I needed to debug to understand they were framebuffer issues, then attempt to recreate the setup that's running on my Pi, then debug that.....
My first mistake was not writing down what I did in my README, but a Docker image would have saved me a ton of time here.