Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 2021 12:13:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 254645] Build and publish official OCI images for FreeBSD releases
Message-ID:  <bug-254645-227-aROucn7brY@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-254645-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-254645-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254645

--- Comment #3 from Mateusz Kwiatkowski <kwiat3k@panic.pl> ---
(In reply to Luca Pizzamiglio from comment #2)
Hi Luca,

Thank you for questions.

> * I'm using skopeo to download docker images and convert them to OCI form=
at. How did you configured the storage driver in etc/containers/storage.conf
> AFAIK, zfs is supported (it would be ideal), but it would work only for r=
oot

This storage configuration matters in runtime context. I only briefly played
with containerd with nullfs snapshotter. For more runtime details I'd refer=
 to
great Samuel's work: https://github.com/samuelkarp/runj

> * one important information that FreeBSD OCI images should have is the os=
.version, to enforce proper check on jails and host messages. Do you think =
os.version (in the manifest field of index.json) is a suitable place or it =
would be better to adopt a custom annotation?

Yes, we can put whatever is needed for runtime to validate images. I created
minimal draft of runtime spec for FreeBSD for my needs:
https://github.com/runhyve/umoci/commit/759dccf4cbbe47a54ca2ef3d44d9c3eb83d=
7a157
And Samuel made his own draft:
https://github.com/samuelkarp/runj/blob/main/runtimespec/config.go

I think that these specs would grow and stabilize over time and in the futu=
re
they should be submitted as official OCI spec:
https://github.com/opencontainers/runtime-spec/blob/master/specs-go/config.=
go

os.version in particular could land in FreeBSD specific subtree of schema.
Here's example for Solaris:
https://github.com/opencontainers/runtime-spec/blob/master/schema/config-so=
laris.json

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254645-227-aROucn7brY>