edgebitio / enclaver

Open source toolkit created to enable easy adoption of software enclaves
https://edgebit.io/enclaver
Apache License 2.0
124 stars 12 forks source link

Minor CLI UX improvements #72

Closed russellhaering closed 1 year ago

russellhaering commented 1 year ago

A few minor things:

  1. If nitro-cli prints one of two known errors (out of disk space, or the cryptic image-too-big-for-memory one), log a warning with additional info. I'm not in love with this display format, but its good enough for now.
  2. Remove some intermediate build stuff that was left laying around in docker, especially the UUID-tagged containers. In practice these just have a fairly small layer on top of the underlying image, so probably weren't taking up as much space as it looked like - but when you do run out of disk space this is much nicer than seeing dozens of weird images laying around.
  3. Default -f to enclaver.yaml - meaning you can now simply run enclaver build in a directory with a manifest file, and it'll just work.