-
Notifications
You must be signed in to change notification settings - Fork 6
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 a TOSCA component to load a docker image from a tar archive #140
Comments
Are you thinking about a We may take inspiration from https://docs.ansible.com/ansible/latest/collections/community/general/docker_image_module.html#ansible-collections-community-general-docker-image-module |
Actually as this ansible module has many parameters, some making sense only for a build, others only for a load, etc... I was thinking to make specialized components, like in this implementation: https://github.com/ystia/forge/blob/feature/GH-140-docker-image-loader/org/ystia/docker/images/types.yml of an Image Loader component, and we could have another component called image builder, etc... This way I'm exposing just the properties I need for the operation I wan to do (here load a tar archive), what do you think ? |
Makes sense. |
The TOSCA component
org.ystia.docker.containers.docker.generic.nodes.GenericContainer
allows to create a docker container from an image in a docker repository.But In some use cases, the image is not available in a docker repository. This image is available in the filesystem as a tar archive.
A new TOSCA component could be added in the Forge to be able to load a docker image from a tar archive.
The text was updated successfully, but these errors were encountered: