-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature] support docker load
semantics for hauler bundles
#276
Labels
enhancement
New feature or request
size/M
Denotes an issue/PR requiring a relatively moderate amount of work
Milestone
Comments
zackbradys
added
the
size/M
Denotes an issue/PR requiring a relatively moderate amount of work
label
Jul 31, 2024
Hey @dweomer, are you still intending to submit a PR for this for |
Hey @dweomer, checking back on the status of this! |
dweomer
added a commit
to dweomer/hauler
that referenced
this issue
Sep 13, 2024
- fixes hauler-dev#276 Signed-off-by: Jacob Blain Christen <jacob.blain.christen@ranchergovernment.com>
dweomer
added a commit
to dweomer/hauler
that referenced
this issue
Sep 13, 2024
- fixes hauler-dev#276 Signed-off-by: Jacob Blain Christen <jacob.blain.christen@ranchergovernment.com>
dweomer
added a commit
to dweomer/hauler
that referenced
this issue
Sep 16, 2024
- fixes hauler-dev#276 Signed-off-by: Jacob Blain Christen <jacob.blain.christen@ranchergovernment.com>
dweomer
added a commit
to dweomer/hauler
that referenced
this issue
Sep 16, 2024
- fixes hauler-dev#276 Signed-off-by: Jacob Blain Christen <jacob.blain.christen@ranchergovernment.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New feature or request
size/M
Denotes an issue/PR requiring a relatively moderate amount of work
Is this RFE related to an Existing Problem? If so, please describe:
RKE2 assumes a
manifest.json
at the top level of the tarball for therke2-runtime
image via rancher/wharfie. For all other images, RKE2 (and k3s) seem to have no issue importing ouroci-layout
tarballs. We could lobby to have wharfie be more accepting but I think it behooves us to render amanifest.json
at the top of ourhauler store
, which is inoci-layout
, which will enable/var/lib/rancher/rke2/agent/images
drop-ins straight from hauler for the RKE2 bootstrap image (rke2-runtime
). Moreover, this should enabledocker load
of uncompressed hauler tarballs.Describe Proposed Solution(s):
Render entries in
${hauler-store}/manifest.json
for every platform of every container image in the store, aka, "name", "config", "layer(s)". For example, here is themanifest.json
created byctr image export
for the RKE2 v1.28.11+rke2r1rancher/rke2-runtime
image for thelinux/amd64
platform:Describe Possible Alternatives:
ctr image import
currently accepts.Additional Context:
It should be pretty easy to validate that our solution is working correctly, and hence will work within RKE2, by running wharfie in docker container with network=none, e.g.:
# where ./images/ is a directory containing the hauler tarball containing `rancher/rke2-runtime` content docker run --rm -it --network=none -v ./images:/images dweomer/wharfie:v0.6.6-amd64 --images-dir /images rancher/rke2-runtime:v1.28.11-rke2r1 /root
But also, too:
docker image load haul.tar # after uncompressing via zstd -d
The text was updated successfully, but these errors were encountered: