Which version of Packer are you using? What's the output of: PACKER_LOG=1 packer build template.json
On Mon, Dec 3, 2018, 07:48 ajith u <[email protected] wrote: > Hi, > I am trying to make a vagrant image (.box) from an ubuntu docker > container using packer . > The json file is like this. > > ================== > *{* > * "builders": [* > * {* > * "type": "docker",* > * "image": "ubuntu:latest",* > * "commit": "true"* > > * }* > * ],* > *"post-processors": [{* > * "type": "vagrant",* > * "output": "ubuntu-16.10-amd64-vagrant.box"* > * }]* > > *}* > > ====================== > > the error i am getting is > ** Post-processor failed: Unknown artifact type, can't build box: > packer.post-processor.docker-import* > > Please let me know if I am missing something > > thanks, > Ajith. > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/packer-tool/CAHGGiCTjkOYM95gDRyMeR4uQKpfzWac1D5NjhpX7_%3DbnYWTR%3DQ%40mail.gmail.com > <https://groups.google.com/d/msgid/packer-tool/CAHGGiCTjkOYM95gDRyMeR4uQKpfzWac1D5NjhpX7_%3DbnYWTR%3DQ%40mail.gmail.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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt_-8-fNjgKdBSsroEMdd0%3DOU%3D2-ZByOhJ5TjiD3Uk8hMw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
