terraform-provider-docker icon indicating copy to clipboard operation
terraform-provider-docker copied to clipboard

Support for `docker image import`

Open andrewbaxter opened this issue 6 months ago • 0 comments

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 new docker_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.

andrewbaxter avatar Feb 01 '24 19:02 andrewbaxter