Hi,
The error is
==> docker: Killing the container:
07363904fc87b94d63c15dbbc1bbfa4b98e1997c5b7271ea5d29fb6f832d58c2
2018/12/03 13:47:08 [INFO] (telemetry) ending docker
2018/12/03 13:47:08 ui: ==> docker: Running post-processor: vagrant
2018/12/03 13:47:08 [INFO] (telemetry) Starting post-processor vagrant
==> docker: Running post-processor: vagrant
2018/12/03 13:47:08 [INFO] (telemetry) ending vagrant
2018/12/03 13:47:08 Deleting original artifact for build 'docker'
2018/12/03 13:47:08 packer: 2018/12/03 13:47:08 Deleting image:
sha256:cf1612fd34c6b30e91a89bb0a075dce0f15cbd160129d0a7322e83d67876e2b7
2018/12/03 13:47:08 ui error: Build 'docker' errored: 1 error(s) occurred:
* Post-processor failed: Unknown artifact type, can't build box:
packer.post-processor.docker-import
2018/12/03 13:47:08 Builds completed. Waiting on interrupt barrier...
2018/12/03 13:47:08 machine readable: error-count []string{"1"}
2018/12/03 13:47:08 ui error:
==> Some builds didn't complete successfully and had errors:
2018/12/03 13:47:08 machine readable: docker,error []string{"1 error(s)
occurred:\n\n* Post-processor failed: Unknown artifact type, can't build
box: packer.post-processor.docker-import"}
2018/12/03 13:47:08 ui error: --> docker: 1 error(s) occurred:
* Post-processor failed: Unknown artifact type, can't build box:
packer.post-processor.docker-import
2018/12/03 13:47:08 ui:
==> Builds finished but no artifacts were created.
2018/12/03 13:47:08 [INFO] (telemetry) Finalizing.
Build 'docker' errored: 1 error(s) occurred:
* Post-processor failed: Unknown artifact type, can't build box:
packer.post-processor.docker-import
==> Some builds didn't complete successfully and had errors:
--> docker: 1 error(s) occurred:
* Post-processor failed: Unknown artifact type, can't build box:
packer.post-processor.docker-import
Attached full error log
On Mon, Dec 3, 2018 at 12:53 PM Rickard von Essen <
[email protected]> wrote:
> The ful log with env var PACKER_LOG=1 should be much longer.
>
> On Mon, Dec 3, 2018, 08:15 ajith u <[email protected] wrote:
>
>> I am using * Packer v1.2.5*
>>
>> this is the full error:
>> # PACKER_LOG=1
>> # packer build build.json
>> docker output will be in this color.
>>
>> ==> docker: Creating a temporary directory for sharing data...
>> ==> docker: Pulling Docker image: ubuntu:latest
>> docker: latest: Pulling from library/ubuntu
>> docker: Digest:
>> sha256:6d0e0c26489e33f5a6f0020edface2727db9489744ecc9b4f50c7fa671f23c49
>> docker: Status: Image is up to date for ubuntu:latest
>> ==> docker: Starting docker container...
>> docker: Run command: docker run -v
>> /root/.packer.d/tmp/packer-docker875001861:/packer-files -d -i -t
>> ubuntu:latest /bin/bash
>> docker: Container ID:
>> 9ade6f732772f958afd565431604e122ae863248e22e4128bc43f5c143f1cd7c
>> ==> docker: Committing the container
>> docker: Image ID:
>> sha256:68f4ad47213d19bf6241d8928ffe69810f5809d52fe8ee59ef2267d93934d531
>> ==> docker: Killing the container:
>> 9ade6f732772f958afd565431604e122ae863248e22e4128bc43f5c143f1cd7c
>> ==> docker: Running post-processor: vagrant
>> Build 'docker' errored: 1 error(s) occurred:
>>
>> * Post-processor failed: Unknown artifact type, can't build box:
>> packer.post-processor.docker-import
>>
>> ==> Some builds didn't complete successfully and had errors:
>> --> docker: 1 error(s) occurred:
>>
>> * Post-processor failed: Unknown artifact type, can't build box:
>> packer.post-processor.docker-import
>>
>> ==> Builds finished but no artifacts were created.
>>
>>
>>
>> On Mon, Dec 3, 2018 at 12:40 PM Rickard von Essen <
>> [email protected]> wrote:
>>
>>> 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
>>> <https://groups.google.com/d/msgid/packer-tool/CALz9Rt_-8-fNjgKdBSsroEMdd0%3DOU%3D2-ZByOhJ5TjiD3Uk8hMw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> --
>> Follow my page : https://www.facebook.com/ColouredClicks
>>
>> --
>> 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/CAHGGiCQCPs9YkpNM2gf3xe80kk4M22G5AmTGnAXfMtSSinOROg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/packer-tool/CAHGGiCQCPs9YkpNM2gf3xe80kk4M22G5AmTGnAXfMtSSinOROg%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/CALz9Rt9wXQAJwYV0T88n-ApRrjY1y7muZ%3DPZM4YjW4Zo6p015A%40mail.gmail.com
> <https://groups.google.com/d/msgid/packer-tool/CALz9Rt9wXQAJwYV0T88n-ApRrjY1y7muZ%3DPZM4YjW4Zo6p015A%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
Follow my page : https://www.facebook.com/ColouredClicks
--
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/CAHGGiCRtz9WwCoQ9RDf7MpoQ1%2B1sdT9x%2BibkE_EwmjUNf-u9kA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
2018/12/03 13:47:01 [INFO] Packer version: 1.2.5
2018/12/03 13:47:01 Packer Target OS/Arch: linux amd64
2018/12/03 13:47:01 Built with Go Version: go1.10.3
2018/12/03 13:47:01 Detected home directory from env var: /root
2018/12/03 13:47:01 Using internal plugin for qemu
2018/12/03 13:47:01 Using internal plugin for scaleway
2018/12/03 13:47:01 Using internal plugin for docker
2018/12/03 13:47:01 Using internal plugin for lxc
2018/12/03 13:47:01 Using internal plugin for openstack
2018/12/03 13:47:01 Using internal plugin for hyperv-iso
2018/12/03 13:47:01 Using internal plugin for oneandone
2018/12/03 13:47:01 Using internal plugin for oracle-oci
2018/12/03 13:47:01 Using internal plugin for virtualbox-iso
2018/12/03 13:47:01 Using internal plugin for vmware-vmx
2018/12/03 13:47:01 Using internal plugin for hyperv-vmcx
2018/12/03 13:47:01 Using internal plugin for parallels-iso
2018/12/03 13:47:01 Using internal plugin for triton
2018/12/03 13:47:01 Using internal plugin for amazon-ebsvolume
2018/12/03 13:47:01 Using internal plugin for amazon-instance
2018/12/03 13:47:01 Using internal plugin for digitalocean
2018/12/03 13:47:01 Using internal plugin for amazon-chroot
2018/12/03 13:47:01 Using internal plugin for amazon-ebssurrogate
2018/12/03 13:47:01 Using internal plugin for null
2018/12/03 13:47:01 Using internal plugin for vmware-iso
2018/12/03 13:47:01 Using internal plugin for amazon-ebs
2018/12/03 13:47:01 Using internal plugin for cloudstack
2018/12/03 13:47:01 Using internal plugin for lxd
2018/12/03 13:47:01 Using internal plugin for profitbricks
2018/12/03 13:47:01 Using internal plugin for alicloud-ecs
2018/12/03 13:47:01 Using internal plugin for azure-arm
2018/12/03 13:47:01 Using internal plugin for parallels-pvm
2018/12/03 13:47:01 Using internal plugin for oracle-classic
2018/12/03 13:47:01 Using internal plugin for virtualbox-ovf
2018/12/03 13:47:01 Using internal plugin for file
2018/12/03 13:47:01 Using internal plugin for googlecompute
2018/12/03 13:47:01 Using internal plugin for ncloud
2018/12/03 13:47:01 Using internal plugin for shell-local
2018/12/03 13:47:01 Using internal plugin for windows-shell
2018/12/03 13:47:01 Using internal plugin for ansible-local
2018/12/03 13:47:01 Using internal plugin for file
2018/12/03 13:47:01 Using internal plugin for puppet-masterless
2018/12/03 13:47:01 Using internal plugin for shell
2018/12/03 13:47:01 Using internal plugin for chef-solo
2018/12/03 13:47:01 Using internal plugin for converge
2018/12/03 13:47:01 Using internal plugin for puppet-server
2018/12/03 13:47:01 Using internal plugin for salt-masterless
2018/12/03 13:47:01 Using internal plugin for windows-restart
2018/12/03 13:47:01 Using internal plugin for ansible
2018/12/03 13:47:01 Using internal plugin for chef-client
2018/12/03 13:47:01 Using internal plugin for powershell
2018/12/03 13:47:01 Using internal plugin for artifice
2018/12/03 13:47:01 Using internal plugin for compress
2018/12/03 13:47:01 Using internal plugin for manifest
2018/12/03 13:47:01 Using internal plugin for vagrant-cloud
2018/12/03 13:47:01 Using internal plugin for vsphere
2018/12/03 13:47:01 Using internal plugin for docker-save
2018/12/03 13:47:01 Using internal plugin for vagrant
2018/12/03 13:47:01 Using internal plugin for alicloud-import
2018/12/03 13:47:01 Using internal plugin for atlas
2018/12/03 13:47:01 Using internal plugin for docker-import
2018/12/03 13:47:01 Using internal plugin for docker-tag
2018/12/03 13:47:01 Using internal plugin for googlecompute-export
2018/12/03 13:47:01 Using internal plugin for shell-local
2018/12/03 13:47:01 Using internal plugin for amazon-import
2018/12/03 13:47:01 Using internal plugin for checksum
2018/12/03 13:47:01 Using internal plugin for docker-push
2018/12/03 13:47:01 Using internal plugin for googlecompute-import
2018/12/03 13:47:01 Using internal plugin for vsphere-template
2018/12/03 13:47:01 Detected home directory from env var: /root
2018/12/03 13:47:01 Attempting to open config file: /root/.packerconfig
2018/12/03 13:47:01 [WARN] Config file doesn't exist: /root/.packerconfig
2018/12/03 13:47:01 Packer config: &{DisableCheckpoint:false
DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000
Builders:map[hyperv-vmcx:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx
parallels-iso:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso
triton:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton
amazon-ebs:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs
virtualbox-ovf:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf
oneandone:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone
vmware-iso:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso
profitbricks:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks
digitalocean:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean
parallels-pvm:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm
googlecompute:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute
vmware-vmx:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx
hyperv-iso:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso
amazon-ebsvolume:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume
ncloud:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-ncloud
scaleway:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-scaleway
amazon-chroot:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot
lxd:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd
azure-arm:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm
file:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file
qemu:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu
amazon-instance:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance
alicloud-ecs:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs
oracle-oci:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci
null:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null
oracle-classic:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-classic
virtualbox-iso:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso
lxc:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc
openstack:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack
amazon-ebssurrogate:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate
cloudstack:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack
docker:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker]
PostProcessors:map[manifest:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest
vsphere:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere
vagrant:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant
atlas:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas
shell-local:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local
docker-push:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push
artifice:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice
compress:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress
googlecompute-import:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-import
vsphere-template:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template
googlecompute-export:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export
amazon-import:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import
checksum:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum
vagrant-cloud:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud
docker-import:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import
docker-tag:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag
docker-save:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save
alicloud-import:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import]
Provisioners:map[windows-restart:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart
ansible:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible
windows-shell:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell
salt-masterless:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless
chef-client:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client
shell-local:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local
puppet-server:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server
converge:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge
powershell:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell
file:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file
puppet-masterless:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless
chef-solo:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo
ansible-local:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local
shell:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell]}
2018/12/03 13:47:01 Detected home directory from env var: /root
2018/12/03 13:47:01 Setting cache directory:
/opt/cognitive-data-platform/tools/PackerVagrantImage/packer_cache
2018/12/03 13:47:01 Detected home directory from env var: /root
2018/12/03 13:47:01 Loading builder: docker
2018/12/03 13:47:01 Plugin could not be found. Checking same directory as
executable.
2018/12/03 13:47:01 Current exe path: /bin/packer
2018/12/03 13:47:01 Creating plugin client for path: /bin/packer
2018/12/03 13:47:01 Starting plugin: /bin/packer []string{"/bin/packer",
"plugin", "packer-builder-docker"}
2018/12/03 13:47:01 Waiting for RPC address for: /bin/packer
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 [INFO] Packer version: 1.2.5
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Packer Target OS/Arch: linux
amd64
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Built with Go Version: go1.10.3
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Detected home directory from
env var: /root
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Attempting to open config file:
/root/.packerconfig
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 [WARN] Config file doesn't
exist: /root/.packerconfig
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Packer config:
&{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000
PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Detected home directory from
env var: /root
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Setting cache directory:
/opt/cognitive-data-platform/tools/PackerVagrantImage/packer_cache
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 args:
[]string{"packer-builder-docker"}
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Plugin minimum port: 10000
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Plugin maximum port: 25000
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Plugin address: unix
/tmp/packer-plugin143719870
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Waiting for connection...
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Detected home directory from
env var: /root
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Serving a plugin connection...
2018/12/03 13:47:01 Loading post-processor: vagrant
2018/12/03 13:47:01 Plugin could not be found. Checking same directory as
executable.
2018/12/03 13:47:01 Current exe path: /bin/packer
2018/12/03 13:47:01 Creating plugin client for path: /bin/packer
2018/12/03 13:47:01 Starting plugin: /bin/packer []string{"/bin/packer",
"plugin", "packer-post-processor-vagrant"}
2018/12/03 13:47:01 Waiting for RPC address for: /bin/packer
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 [INFO] Packer version: 1.2.5
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Packer Target OS/Arch: linux
amd64
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Built with Go Version: go1.10.3
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Detected home directory from
env var: /root
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Attempting to open config file:
/root/.packerconfig
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 [WARN] Config file doesn't
exist: /root/.packerconfig
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Packer config:
&{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000
PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Detected home directory from
env var: /root
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Setting cache directory:
/opt/cognitive-data-platform/tools/PackerVagrantImage/packer_cache
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 args:
[]string{"packer-post-processor-vagrant"}
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Plugin minimum port: 10000
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Plugin maximum port: 25000
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Detected home directory from
env var: /root
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Plugin address: unix
/tmp/packer-plugin230693693
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Waiting for connection...
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Serving a plugin connection...
docker output will be in this color.
2018/12/03 13:47:01 ui: docker output will be in this color.
2018/12/03 13:47:01 ui:
2018/12/03 13:47:01 Build debug mode: false
2018/12/03 13:47:01 Force build: false
2018/12/03 13:47:01 On error:
2018/12/03 13:47:01 Preparing build: docker
2018/12/03 13:47:01 Waiting on builds to complete...
2018/12/03 13:47:01 Starting build run: docker
2018/12/03 13:47:01 Running builder: docker
2018/12/03 13:47:01 [INFO] (telemetry) Starting builder docker
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 [DEBUG] Docker version:
17.5.0-ce
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 [DEBUG] Container will be
committed
2018/12/03 13:47:01 ui: ==> docker: Creating a temporary directory for sharing
data...
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Detected home directory from
env var: /root
==> docker: Creating a temporary directory for sharing data...
2018/12/03 13:47:01 ui: ==> docker: Pulling Docker image: ubuntu:latest
==> docker: Pulling Docker image: ubuntu:latest
2018/12/03 13:47:01 packer: 2018/12/03 13:47:01 Executing: /usr/bin/docker
[pull ubuntu:latest]
2018/12/03 13:47:05 ui: docker: latest: Pulling from library/ubuntu
docker: latest: Pulling from library/ubuntu
2018/12/03 13:47:06 ui: docker: Digest:
sha256:6d0e0c26489e33f5a6f0020edface2727db9489744ecc9b4f50c7fa671f23c49
docker: Digest:
sha256:6d0e0c26489e33f5a6f0020edface2727db9489744ecc9b4f50c7fa671f23c49
2018/12/03 13:47:06 ui: docker: Status: Image is up to date for
ubuntu:latest
docker: Status: Image is up to date for ubuntu:latest
2018/12/03 13:47:06 ui: ==> docker: Starting docker container...
==> docker: Starting docker container...
2018/12/03 13:47:06 ui: docker: Run command: docker run -v
/root/.packer.d/tmp/packer-docker990131205:/packer-files -d -i -t ubuntu:latest
/bin/bash
docker: Run command: docker run -v
/root/.packer.d/tmp/packer-docker990131205:/packer-files -d -i -t ubuntu:latest
/bin/bash
2018/12/03 13:47:06 packer: 2018/12/03 13:47:06 Starting container with args:
[run -v /root/.packer.d/tmp/packer-docker990131205:/packer-files -d -i -t
ubuntu:latest /bin/bash]
2018/12/03 13:47:06 packer: 2018/12/03 13:47:06 Waiting for container to finish
starting
2018/12/03 13:47:07 ui: docker: Container ID:
07363904fc87b94d63c15dbbc1bbfa4b98e1997c5b7271ea5d29fb6f832d58c2
docker: Container ID:
07363904fc87b94d63c15dbbc1bbfa4b98e1997c5b7271ea5d29fb6f832d58c2
2018/12/03 13:47:07 packer: 2018/12/03 13:47:07 Running the provision hook
2018/12/03 13:47:07 ui: ==> docker: Committing the container
==> docker: Committing the container
2018/12/03 13:47:07 packer: 2018/12/03 13:47:07 Committing container with args:
[commit 07363904fc87b94d63c15dbbc1bbfa4b98e1997c5b7271ea5d29fb6f832d58c2]
2018/12/03 13:47:08 ui: docker: Image ID:
sha256:cf1612fd34c6b30e91a89bb0a075dce0f15cbd160129d0a7322e83d67876e2b7
docker: Image ID:
sha256:cf1612fd34c6b30e91a89bb0a075dce0f15cbd160129d0a7322e83d67876e2b7
2018/12/03 13:47:08 ui: ==> docker: Killing the container:
07363904fc87b94d63c15dbbc1bbfa4b98e1997c5b7271ea5d29fb6f832d58c2
==> docker: Killing the container:
07363904fc87b94d63c15dbbc1bbfa4b98e1997c5b7271ea5d29fb6f832d58c2
2018/12/03 13:47:08 [INFO] (telemetry) ending docker
2018/12/03 13:47:08 ui: ==> docker: Running post-processor: vagrant
2018/12/03 13:47:08 [INFO] (telemetry) Starting post-processor vagrant
==> docker: Running post-processor: vagrant
2018/12/03 13:47:08 [INFO] (telemetry) ending vagrant
2018/12/03 13:47:08 Deleting original artifact for build 'docker'
2018/12/03 13:47:08 packer: 2018/12/03 13:47:08 Deleting image:
sha256:cf1612fd34c6b30e91a89bb0a075dce0f15cbd160129d0a7322e83d67876e2b7
2018/12/03 13:47:08 ui error: Build 'docker' errored: 1 error(s) occurred:
* Post-processor failed: Unknown artifact type, can't build box:
packer.post-processor.docker-import
2018/12/03 13:47:08 Builds completed. Waiting on interrupt barrier...
2018/12/03 13:47:08 machine readable: error-count []string{"1"}
2018/12/03 13:47:08 ui error:
==> Some builds didn't complete successfully and had errors:
2018/12/03 13:47:08 machine readable: docker,error []string{"1 error(s)
occurred:\n\n* Post-processor failed: Unknown artifact type, can't build box:
packer.post-processor.docker-import"}
2018/12/03 13:47:08 ui error: --> docker: 1 error(s) occurred:
* Post-processor failed: Unknown artifact type, can't build box:
packer.post-processor.docker-import
2018/12/03 13:47:08 ui:
==> Builds finished but no artifacts were created.
2018/12/03 13:47:08 [INFO] (telemetry) Finalizing.
Build 'docker' errored: 1 error(s) occurred:
* Post-processor failed: Unknown artifact type, can't build box:
packer.post-processor.docker-import
==> Some builds didn't complete successfully and had errors:
--> docker: 1 error(s) occurred:
* Post-processor failed: Unknown artifact type, can't build box:
packer.post-processor.docker-import
==> Builds finished but no artifacts were created.
2018/12/03 13:47:10 waiting for all plugin processes to complete...
2018/12/03 13:47:10 /bin/packer: plugin process exited
2018/12/03 13:47:10 /bin/packer: plugin process exited
root@guttenberg-ThinkCentre-M900:/opt/cognitive-data-platform/tools/PackerVagrantImage#