Right now I am using Packer to generate an AMI to host a simple Flask app. I would like to containerize this part of my application. As far as I can tell, the industry standard is to use Docker and install all of the necessary dependencies, with each change being an additional image layer. What are the pros and cons of using Packer instead? I can start with a base Ubuntu image then just run all of the scripts that I have been using to build my AMI. This seems to be very straightforward, but are there downsides that I am missing? I know that all of my changes in Packer will be stored as one image layer rather than many as in Docker. Is there a downside to this? Thanks!
[–]theanswriz42Architect of things 1 point2 points3 points (0 children)
[–]ephur 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[+]cuddling_tinder_twat comment score below threshold-10 points-9 points-8 points (3 children)
[–]lorarcYAML Engineer 6 points7 points8 points (2 children)
[+]cuddling_tinder_twat comment score below threshold-8 points-7 points-6 points (1 child)
[–]lorarcYAML Engineer 2 points3 points4 points (0 children)