umoci modifies Open Container images
hack/release.sh
automates the process of generating all of the published
artefacts for releases. The new script also generates signed source code
archives. openSUSE/umoci#116umoci
now outputs configurations that are compliant with v1.0.0-rc5
of
the OCI runtime-spec. This means that now you can use runc
v1.0.0-rc3 with umoci
(and rootless containers should work out of the box
if you use a development build of runc). openSUSE/umoci#114umoci unpack
no longer adds a dummy linux.seccomp entry, and instead just
sets it to null. openSUSE/umoci#114Signed-off-by: Aleksa Sarai [email protected]
umoci
now has some automated scripts for generated RPMs that are used in
openSUSE to automatically submit packages to OBS. openSUSE/umoci#101--clear=config.{cmd,entrypoint}
is now supported. While this interface is a
bit weird (cmd
and entrypoint
aren't treated atomically) this makes the
UX more consistent while we come up with a better cmd
and entrypoint
UX.
openSUSE/umoci#107umoci raw runtime-config
. It generates the runtime-spec
config.json for a particular image without also unpacking the root
filesystem, allowing for users of umoci
that are regularly parsing
config.json
without caring about the root filesystem to be more efficient.
However, a downside of this approach is that some image-spec fields
(Config.User
) require a root filesystem in order to make sense, which is
why this command is hidden under the umoci-raw(1)
subcommand (to make sure
only users that understand what they're doing use it). openSUSE/umoci#110umoci
's oci/cas
and oci/config
libraries have been massively refactored
and rewritten, to allow for third-parties to use the OCI libraries. The plan
is for these to eventually become part of an OCI project. openSUSE/umoci#90oci/cas
interface has been modifed to switch from *ispec.Descriptor
to ispec.Descriptor
. This is a breaking, but fairly insignificant, change.
openSUSE/umoci#89umoci
now uses an updated version of go-mtree
, which has a complete
rewrite of Vis
and Unvis
. The rewrite ensures that unicode handling is
handled in a far more consistent and sane way. openSUSE/umoci#88umoci
used to set process.user.additionalGids
to the "normal value" when
unpacking an image in rootless mode, causing issues when trying to actually
run said bundle with runC. openSUSE/umoci#109Thanks to all of the contributors that helped make this release happen:
Signed-off-by: Aleksa Sarai [email protected]
CHANGELOG.md
has now been added. openSUSE/umoci#76umoci
now supports v1.0.0-rc4
images, which has made fairly minimal
changes to the schema (mainly related to mediaType
s). While this change
is backwards compatible (several fields were removed from the schema, but
the specification allows for "additional fields"), tools using older versions
of the specification may fail to operate on newer OCI images. There was no UX
change associated with this update.umoci tag
would fail to clobber existing tags, which was in contrast to how
the rest of the tag clobbering commands operated. This has been fixed and is
now consistent with the other commands. openSUSE/umoci#78umoci repack
now can correctly handle unicode-encoded filenames, allowing
the creation of containers that have oddly named files. This required fixes
to go-mtree (where the issue was). openSUSE/umoci#80Signed-off-by: Aleksa Sarai [email protected]
This is the first beta release of umoci, and it includes very few changes from v0.0.0-rc3. However, at this point the UX is effectively stable and umoci is properly tested. The (small) list of changes in this release from -rc3 is:
Signed-off-by: Aleksa Sarai [email protected]
umoci has now gone a large amount of cleanup, and included the addition of a few previously missing features. The main thing blocking a full release is that manifest lists are still unsupported, and there are some upstream PRs that define some of umoci's operations that need to be merged before umoci can be considered a compliant implementation. In addition, the logging library needs to be swapped (and the amount of output reduced).
Here's a short list of features added:
Signed-off-by: Aleksa Sarai [email protected]
umoci now has a stable UX, as well as proper documentation for the UX in the form of generated man pages. Here's the full list of cool features:
This code is still being reworked (though much more slowly than before). Hold off on using it anywhere until we hit the proper 0.0.0 release!
Signed-off-by: Aleksa Sarai [email protected]
At this point, umoci implements enough functionality to be able to extract, repack and modify OCI images. It is still missing major functionality (such as the ability to create an entirely new image or just create tags for images), but should be enough for a demo.
Please don't use this anywhere important. There are known security issues with this release (which will be fixed before 0.0.0).
Signed-off-by: Aleksa Sarai [email protected]