The output of docker images is really intended for humans, and it's not very parse-friendly. Instead, most Docker commands support a --format flag using Go templates. As you can see in the images documentation, you only really care about the .Size value, so you really want this:
docker images --...
I didn't really expect to chain 4 different commands when I started the answer... I wonder if I missed something obvious
Sounds hacky indeed, I'd use awk to compare the floating point value and return a true false error code to stop the script (which would replace ses/Bc and the comparison in bash
For the tag, hard on phone :) will do on Tuesday if no one did it before
As of now, both the aws-* and amazon-* version of the tags are synonyms for each other.
So, which one of them should we have as the master?
Do we want the aws-* style tag or the amazon-* style tag?
It's a rant, pure and simple. If the author had put it in non-emotive, evidence-based words then I could abide by keeping it, even with it being fundamentally flawed.
Less offending, still ranty IMHO, part of my comment is outdated that said, but I'll leave it for now
@RichardSlater for sysadmi /Sre I may try to share my personnal experience, I'm in a kind of SRE position, but I still consider myself as a net/sysadmin
Question about deployment - the definition seems to be the non-DevOps definition: "the activities to make (part of) a system available for use". Whereas the DevOps definition of deployment would be "A technical handling where a new version of the software is deployed to a specific environment" as per Decouple release from deployment. Thoughts?
I'd stay with the usual meaning and not a devopsy one, may worth a word in the tag wiki that said to expose this specific definition, but I don't think anyone will read it to specify it one way or the other when tagging a question