You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The images/tags code is a bit of a mess. Tags were initially supposed to work transparently, hence were implemented as symlinks, but that's actually not helpful, because a VM should always point to the same immutable base image from which it was created, so the link is dereferenced anyway. Some things that could use fixing:
Keep images and tags in separate directories. Tags should be regular files that contain the image's ID.
Images should have an id rather than a name; the expectation for a name is that it's human-friendly, but they are sha256 hashes.
Allow the user to specify any unique prefix of an image id, so that it's possible to copy/paste the output of miv images and miv build into a new command.
The text was updated successfully, but these errors were encountered:
The images/tags code is a bit of a mess. Tags were initially supposed to work transparently, hence were implemented as symlinks, but that's actually not helpful, because a VM should always point to the same immutable base image from which it was created, so the link is dereferenced anyway. Some things that could use fixing:
id
rather than aname
; the expectation for a name is that it's human-friendly, but they are sha256 hashes.miv images
andmiv build
into a new command.The text was updated successfully, but these errors were encountered: