- [x] According to [OCI Image Spec](https://github.com/opencontainers/image-spec/blob/d9ffa2f05d4dbe917edfdffcafaf427287a26d1c/config.md), valid `config.User` forms are `user`, `uid`, `user:group`, `uid:gid`, `uid:group`, and `user:gid`. However, only `user`, `uid`, and `uid:gid` are supported now https://github.com/containerd/containerd/pull/1994/files#diff-f7b47b78a700db482d56ad8e9972e1e5R113 (#2257) - [X] Make `oci.WithUsername` and `oci.WithUserID` independent of snapshot so as to support non-snapshot rootfs https://github.com/containerd/containerd/pull/1994/files#diff-f7b47b78a700db482d56ad8e9972e1e5R262 (#2009)
According to OCI Image Spec, valid
config.Userforms areuser,uid,user:group,uid:gid,uid:group, anduser:gid. However, onlyuser,uid, anduid:gidare supported now https://github.com/containerd/containerd/pull/1994/files#diff-f7b47b78a700db482d56ad8e9972e1e5R113 (Add oci.WithUser helper function. #2257)Make
oci.WithUsernameandoci.WithUserIDindependent of snapshot so as to support non-snapshot rootfs https://github.com/containerd/containerd/pull/1994/files#diff-f7b47b78a700db482d56ad8e9972e1e5R262 (Support getting uid/gid from rootfs path #2009)