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
@jstarks mentioned these prefixes in moby/moby#20125, but he was looking for a place to store Windows metadata. This issue is just about portably storing the Linux xattr (and other OSes that use those same prefixes, if any).
The layer spec requires layer to, “where supported”, include xattrs. But there seem to be two extended header prefixes in use for xattrs:
LIBARCHIVE.xattr.
andSCHILY.xattr.
(libarchive/libarchive#691). GNU tar prefersSCHILY.xattr
, and Go readsSCHILY.xattr.*
intoHeader.Xattrs
(although that will be deprecated in Go 1.10, golang/go#14472). It's probably worth clarifying in the spec which prefix SHOULD be used in OCI layers, and whether unpackers MUST support one or both prefixes when they support xattrs.The text was updated successfully, but these errors were encountered: