Not directly, but you could do something like: packer build -var docker_image=$(docker load -q < image.tar) template.json
On Feb 19, 2018 04:46, "Tyler McAdams" <tyler.mcad...@gmail.com> wrote: > I've been googling but cannot find any information on if it's possible to > import a tarred docker image and build from that... can anyone provide help? > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/packer/issues > IRC: #packer-tool on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Packer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to packer-tool+unsubscr...@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/packer-tool/48440a44-81ab-44f5-ba41-1c62dbf0ea66%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/48440a44-81ab-44f5-ba41-1c62dbf0ea66%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt8gfbgZL2dt-A1aCxqLq1%3D%2BqxA8%2BxJq7Douq0NauabsqQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.