-
Notifications
You must be signed in to change notification settings - Fork 97
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
Document how to do create an image from scratch #528
Comments
What error do you get from Something like the following should work: % umoci init --layout my-new-image # create new OCI layout
% umoci new --image my-new-image:tag # create a new OCI image
% sudo umoci unpack --image my-new-image:tag bundle # unpack the empty image to modify it
% sudo tar x -f some-rootfs.tar -C bundle/rootfs # or any other command you like
% sudo umoci repack --image my-new-image:tag bundle # update the image with a new layer based on the rootfs changes
% umoci config --image my-new-image:tag --whatever-you-want-to-configure # (optional) update the image configuration You need to use I may have discovered a possible issue in how we handle ownership of files in the OCI layout -- if you use |
Hi
At debian we have special tools that create chroot.
We want to create a container from this without doing docker import.
How can we do using umoci ?
I achieved to init and create an image but repack fail.
Thanks
The text was updated successfully, but these errors were encountered: