terraform-provider-docker
terraform-provider-docker copied to clipboard
Support for `docker image import`
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
Being able to import images from the output of a "docker export". I have a build process that results in a docker export tarball and there's no simple way to import it at the moment.
New or Affected Resource(s)
- docker_image
Rather than add it into
docker_image
it might be cleaner to make a newdocker_import_image
resource.
Potential Terraform Configuration
References
The oci/skopeo libraries have methods for copying images to and from a number of formats which would make this fairly simple... but it'd be another dependency and I see there are already docker imports. I don't know if a similar method is exposed in the docker libraries.