Use the umoci Go package instead of the command
In addition, a custom handler was implemented for github.com/apex/log to adjust the log format to match github.com/lxc/incus/v6/shared/logger.
Partially closes: #1840
@cyphar any progress on getting a new umoci release to fix #1838? I'm asking because this PR is also stuck on having an updated umoci as the version of runc that the go.mod is currently pulling is flagged as vulnerable...
I just merged the patchset which added support for that -- opencontainers/umoci#562. I have a few minor cleanup things to do then I'll do the release.
https://github.com/opencontainers/umoci/releases/tag/v0.5.0 has been released. There were some breaking API changes that you might need to update this PR to fix, but at a quick look it should Just Work As Is :tm:.