-
Notifications
You must be signed in to change notification settings - Fork 221
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
Add docs section or page describing how to tell toolbox to build customized images #1102
Comments
Hi I will leave some observations here, I am not sure whether the documentation really belongs in The reality of building a custom image is that you need to know I guess we could create some sort of tutorial that shows a minimum of what needs to be done(I still don't think this should be in the man pages however). Though I have been thinking of creating a small web application that essentially allows you to quickly generate a Containerfile without knowing the syntax - maybe that would be a better approach. Let me know what you think about this approach. As for:
I went ahead myself and build images for some popular distros here: https://github.com/akdev1l/toolbox-images. Feel free to give it a try. This issue seems closely related (if not duplicate) with #1077 - I left a quick way of creating a custom image without resorting to Containerfiles there. Maybe that will work for you for the time being. just my 2 cents, hope that's somewhat useful |
Thanks :)
I don't think that full reference of Dockerfile (or
Thanks, my search didn't yield it. It seems to me that the ends and means are different in these two however. Creating a base image is good when you need more images in parallel, however for how I use toolbox (sth breaks within containers after months of having it), such an approach wouldn't be wise as after just a few iterations, I'd end up with image based on old system and full of CVEs. :/ |
See also the progress we made in #1019 for other distro toolboxes. |
After looking around a bit in the existing documentation, I would suggest that we add some information to the website with details about toolbox images, and how to create custom ones. This does not seem to fit well into either the man pages or the existing install & use section. |
#1077 explains a nice way to create custom images that would be good to include in the docs |
containers/toolbox#1102 Signed-off-by: Nieves Montero <nmontero@redhat.com>
containers/toolbox#1102 Signed-off-by: Nieves Montero <nmontero@redhat.com> Signed-off-by: Nieves Montero <nmontero@redhat.com>
@matthiasclasen hi, this is what I meant with just one tiny bit missing: command how to create a toolbx image from Containerfile (I guess |
The command you want is |
Thanks! @matthiasclasen, could we have these spelled out in /install/ or alongside example Containerfile, please? |
Is your feature request related to a problem? Please describe.
Toolbx creates images that are expected to be modified. However many people are likely to need stable set of their modification that'd be repeated on every (re)build of their toolboxes.
Describe the solution you'd like
There are nice solutions available online:
I'd like to see example like this explained in online docs and manual page in a way that person who never worked with containers before will be able to write their own basic script that'd install custom set of packages and modify some stuff in toolbox container's /etc.
Describe alternatives you've considered
Additional context
This could be also reply to requests for other distro's support for the time being.
The text was updated successfully, but these errors were encountered: