Last active
February 6, 2019 17:34
-
-
Save rhencke/79405e32b709d1ba6e0e53d5bdd2fc77 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"builders": [ | |
{ | |
"type": "docker", | |
"image": "ubuntu", | |
"commit": "true" | |
} | |
], | |
"post-processors": [ | |
[ | |
{ | |
"type": "docker-tag", | |
"repository": "example/repo", | |
"only": [ | |
"docker" | |
] | |
} | |
] | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2019/02/06 12:30:55 [INFO] Packer version: 1.3.4 | |
2019/02/06 12:30:55 Packer Target OS/Arch: linux amd64 | |
2019/02/06 12:30:55 Built with Go Version: go1.11.4 | |
2019/02/06 12:30:55 Detected home directory from env var: /home/robert.hencke | |
2019/02/06 12:30:55 Using internal plugin for hyperv-iso | |
2019/02/06 12:30:55 Using internal plugin for lxd | |
2019/02/06 12:30:55 Using internal plugin for alicloud-ecs | |
2019/02/06 12:30:55 Using internal plugin for amazon-ebssurrogate | |
2019/02/06 12:30:55 Using internal plugin for azure-arm | |
2019/02/06 12:30:55 Using internal plugin for openstack | |
2019/02/06 12:30:55 Using internal plugin for oracle-classic | |
2019/02/06 12:30:55 Using internal plugin for scaleway | |
2019/02/06 12:30:55 Using internal plugin for virtualbox-ovf | |
2019/02/06 12:30:55 Using internal plugin for amazon-chroot | |
2019/02/06 12:30:55 Using internal plugin for file | |
2019/02/06 12:30:55 Using internal plugin for lxc | |
2019/02/06 12:30:55 Using internal plugin for hyperv-vmcx | |
2019/02/06 12:30:55 Using internal plugin for profitbricks | |
2019/02/06 12:30:55 Using internal plugin for cloudstack | |
2019/02/06 12:30:55 Using internal plugin for hcloud | |
2019/02/06 12:30:55 Using internal plugin for virtualbox-iso | |
2019/02/06 12:30:55 Using internal plugin for digitalocean | |
2019/02/06 12:30:55 Using internal plugin for null | |
2019/02/06 12:30:55 Using internal plugin for triton | |
2019/02/06 12:30:55 Using internal plugin for vmware-vmx | |
2019/02/06 12:30:55 Using internal plugin for amazon-ebs | |
2019/02/06 12:30:55 Using internal plugin for oneandone | |
2019/02/06 12:30:55 Using internal plugin for parallels-pvm | |
2019/02/06 12:30:55 Using internal plugin for ncloud | |
2019/02/06 12:30:55 Using internal plugin for tencentcloud-cvm | |
2019/02/06 12:30:55 Using internal plugin for amazon-ebsvolume | |
2019/02/06 12:30:55 Using internal plugin for docker | |
2019/02/06 12:30:55 Using internal plugin for googlecompute | |
2019/02/06 12:30:55 Using internal plugin for qemu | |
2019/02/06 12:30:55 Using internal plugin for vmware-iso | |
2019/02/06 12:30:55 Using internal plugin for amazon-instance | |
2019/02/06 12:30:55 Using internal plugin for oracle-oci | |
2019/02/06 12:30:55 Using internal plugin for parallels-iso | |
2019/02/06 12:30:55 Using internal plugin for powershell | |
2019/02/06 12:30:55 Using internal plugin for shell | |
2019/02/06 12:30:55 Using internal plugin for chef-solo | |
2019/02/06 12:30:55 Using internal plugin for puppet-server | |
2019/02/06 12:30:55 Using internal plugin for file | |
2019/02/06 12:30:55 Using internal plugin for salt-masterless | |
2019/02/06 12:30:55 Using internal plugin for windows-restart | |
2019/02/06 12:30:55 Using internal plugin for windows-shell | |
2019/02/06 12:30:55 Using internal plugin for breakpoint | |
2019/02/06 12:30:55 Using internal plugin for chef-client | |
2019/02/06 12:30:55 Using internal plugin for converge | |
2019/02/06 12:30:55 Using internal plugin for puppet-masterless | |
2019/02/06 12:30:55 Using internal plugin for shell-local | |
2019/02/06 12:30:55 Using internal plugin for ansible | |
2019/02/06 12:30:55 Using internal plugin for ansible-local | |
2019/02/06 12:30:55 Using internal plugin for alicloud-import | |
2019/02/06 12:30:55 Using internal plugin for checksum | |
2019/02/06 12:30:55 Using internal plugin for compress | |
2019/02/06 12:30:55 Using internal plugin for docker-tag | |
2019/02/06 12:30:55 Using internal plugin for googlecompute-import | |
2019/02/06 12:30:55 Using internal plugin for amazon-import | |
2019/02/06 12:30:55 Using internal plugin for artifice | |
2019/02/06 12:30:55 Using internal plugin for shell-local | |
2019/02/06 12:30:55 Using internal plugin for vagrant | |
2019/02/06 12:30:55 Using internal plugin for vsphere | |
2019/02/06 12:30:55 Using internal plugin for vsphere-template | |
2019/02/06 12:30:55 Using internal plugin for docker-import | |
2019/02/06 12:30:55 Using internal plugin for docker-push | |
2019/02/06 12:30:55 Using internal plugin for docker-save | |
2019/02/06 12:30:55 Using internal plugin for googlecompute-export | |
2019/02/06 12:30:55 Using internal plugin for manifest | |
2019/02/06 12:30:55 Using internal plugin for vagrant-cloud | |
2019/02/06 12:30:55 Detected home directory from env var: /home/robert.hencke | |
2019/02/06 12:30:55 Attempting to open config file: /home/robert.hencke/.packerconfig | |
2019/02/06 12:30:55 [WARN] Config file doesn't exist: /home/robert.hencke/.packerconfig | |
2019/02/06 12:30:55 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[null:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null oracle-oci:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci scaleway:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-scaleway file:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file hcloud:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hcloud openstack:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack hyperv-vmcx:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx vmware-vmx:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx docker:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker ncloud:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-ncloud tencentcloud-cvm:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-tencentcloud-cvm amazon-ebsvolume:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume parallels-iso:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso hyperv-iso:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso alicloud-ecs:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs azure-arm:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm cloudstack:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack digitalocean:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean googlecompute:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute lxd:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd amazon-ebssurrogate:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate virtualbox-ovf:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf lxc:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc virtualbox-iso:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso amazon-ebs:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs parallels-pvm:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm qemu:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu amazon-instance:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance amazon-chroot:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot profitbricks:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks oneandone:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone vmware-iso:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso oracle-classic:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-classic triton:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton] PostProcessors:map[checksum:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum docker-push:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push docker-save:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save vagrant-cloud:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud compress:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress vsphere:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere manifest:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest alicloud-import:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import shell-local:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local vagrant:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant vsphere-template:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template docker-import:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import docker-tag:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag googlecompute-import:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-import amazon-import:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import artifice:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice googlecompute-export:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export] Provisioners:map[windows-shell:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell salt-masterless:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless breakpoint:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-breakpoint chef-client:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client puppet-masterless:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless ansible:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible powershell:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell shell:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell puppet-server:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server windows-restart:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart converge:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge ansible-local:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local chef-solo:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo file:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file shell-local:/home/robert.hencke/src/packertest/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local]} | |
2019/02/06 12:30:55 Detected home directory from env var: /home/robert.hencke | |
2019/02/06 12:30:55 Setting cache directory: /home/robert.hencke/src/packertest/packer_cache | |
2019/02/06 12:30:55 Detected home directory from env var: /home/robert.hencke | |
2019/02/06 12:30:55 Loading builder: docker | |
2019/02/06 12:30:55 Plugin could not be found. Checking same directory as executable. | |
2019/02/06 12:30:55 Current exe path: /home/robert.hencke/src/packertest/packer | |
2019/02/06 12:30:55 Creating plugin client for path: /home/robert.hencke/src/packertest/packer | |
2019/02/06 12:30:55 Starting plugin: /home/robert.hencke/src/packertest/packer []string{"/home/robert.hencke/src/packertest/packer", "plugin", "packer-builder-docker"} | |
2019/02/06 12:30:55 Waiting for RPC address for: /home/robert.hencke/src/packertest/packer | |
2019/02/06 12:30:55 packer: 2019/02/06 12:30:55 [INFO] Packer version: 1.3.4 | |
2019/02/06 12:30:55 packer: 2019/02/06 12:30:55 Packer Target OS/Arch: linux amd64 | |
2019/02/06 12:30:55 packer: 2019/02/06 12:30:55 Built with Go Version: go1.11.4 | |
2019/02/06 12:30:55 packer: 2019/02/06 12:30:55 Detected home directory from env var: /home/robert.hencke | |
2019/02/06 12:30:55 packer: 2019/02/06 12:30:55 Attempting to open config file: /home/robert.hencke/.packerconfig | |
2019/02/06 12:30:55 packer: 2019/02/06 12:30:55 [WARN] Config file doesn't exist: /home/robert.hencke/.packerconfig | |
2019/02/06 12:30:55 packer: 2019/02/06 12:30:55 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]} | |
2019/02/06 12:30:55 packer: 2019/02/06 12:30:55 Detected home directory from env var: /home/robert.hencke | |
2019/02/06 12:30:55 packer: 2019/02/06 12:30:55 Setting cache directory: /home/robert.hencke/src/packertest/packer_cache | |
2019/02/06 12:30:55 packer: 2019/02/06 12:30:55 Detected home directory from env var: /home/robert.hencke | |
2019/02/06 12:30:55 packer: 2019/02/06 12:30:55 args: []string{"packer-builder-docker"} | |
2019/02/06 12:30:55 packer: 2019/02/06 12:30:55 Plugin minimum port: 10000 | |
2019/02/06 12:30:55 packer: 2019/02/06 12:30:55 Plugin maximum port: 25000 | |
2019/02/06 12:30:55 packer: 2019/02/06 12:30:55 Plugin address: unix /tmp/packer-plugin092640408 | |
2019/02/06 12:30:55 packer: 2019/02/06 12:30:55 Waiting for connection... | |
2019/02/06 12:30:55 packer: 2019/02/06 12:30:55 Serving a plugin connection... | |
2019/02/06 12:30:55 Build debug mode: false | |
2019/02/06 12:30:55 Force build: false | |
2019/02/06 12:30:55 On error: | |
2019/02/06 12:30:55 Preparing build: docker | |
docker output will be in this color. | |
2019/02/06 12:30:55 Waiting on builds to complete... | |
2019/02/06 12:30:55 Starting build run: docker | |
2019/02/06 12:30:55 Running builder: docker | |
2019/02/06 12:30:55 [INFO] (telemetry) Starting builder docker | |
2019/02/06 12:30:55 packer: 2019/02/06 12:30:55 [DEBUG] Docker version: 18.9.1-ce | |
2019/02/06 12:30:55 packer: 2019/02/06 12:30:55 [DEBUG] Container will be committed | |
==> docker: Creating a temporary directory for sharing data... | |
2019/02/06 12:30:55 packer: 2019/02/06 12:30:55 Detected home directory from env var: /home/robert.hencke | |
==> docker: Pulling Docker image: ubuntu | |
2019/02/06 12:30:55 packer: 2019/02/06 12:30:55 Executing: /usr/bin/docker [pull ubuntu] | |
docker: Using default tag: latest | |
docker: latest: Pulling from library/ubuntu | |
docker: Digest: sha256:dc760cdada42183a03bf0801567cb8465d3c7cd5dfb11819a7d9e1db7e810709 | |
docker: Status: Image is up to date for ubuntu:latest | |
==> docker: Starting docker container... | |
docker: Run command: docker run -v /home/robert.hencke/.packer.d/tmp:/packer-files -d -i -t ubuntu /bin/bash | |
2019/02/06 12:30:55 packer: 2019/02/06 12:30:55 Starting container with args: [run -v /home/robert.hencke/.packer.d/tmp:/packer-files -d -i -t ubuntu /bin/bash] | |
2019/02/06 12:30:55 packer: 2019/02/06 12:30:55 Waiting for container to finish starting | |
docker: Container ID: 7d28689bd117a471d7f6c2e2f4ad4f5d8a9de6aa4b452ac8363e8ef04123662e | |
==> docker: Using docker communicator to connect: 172.17.0.2 | |
2019/02/06 12:30:56 packer: 2019/02/06 12:30:56 Running the provision hook | |
==> docker: Committing the container | |
2019/02/06 12:30:56 packer: 2019/02/06 12:30:56 Committing container with args: [commit 7d28689bd117a471d7f6c2e2f4ad4f5d8a9de6aa4b452ac8363e8ef04123662e] | |
docker: Image ID: sha256:89ed34c7efa24ce774b38e0511b9015dbd197cda5162b791c3a64f97951a704c | |
==> docker: Killing the container: 7d28689bd117a471d7f6c2e2f4ad4f5d8a9de6aa4b452ac8363e8ef04123662e | |
2019/02/06 12:30:56 [INFO] (telemetry) ending docker | |
2019/02/06 12:30:56 Builds completed. Waiting on interrupt barrier... | |
==> Builds finished. The artifacts of successful builds are: | |
2019/02/06 12:30:56 machine readable: docker,artifact-count []string{"1"} | |
Build 'docker' finished. | |
==> Builds finished. The artifacts of successful builds are: | |
2019/02/06 12:30:56 machine readable: docker,artifact []string{"0", "builder-id", "packer.post-processor.docker-import"} | |
2019/02/06 12:30:56 machine readable: docker,artifact []string{"0", "id", "sha256:89ed34c7efa24ce774b38e0511b9015dbd197cda5162b791c3a64f97951a704c"} | |
2019/02/06 12:30:56 machine readable: docker,artifact []string{"0", "string", "Imported Docker image: sha256:89ed34c7efa24ce774b38e0511b9015dbd197cda5162b791c3a64f97951a704c"} | |
2019/02/06 12:30:56 machine readable: docker,artifact []string{"0", "files-count", "0"} | |
2019/02/06 12:30:56 machine readable: docker,artifact []string{"0", "end"} | |
2019/02/06 12:30:56 [INFO] (telemetry) Finalizing. | |
--> docker: Imported Docker image: sha256:89ed34c7efa24ce774b38e0511b9015dbd197cda5162b791c3a64f97951a704c | |
2019/02/06 12:30:57 waiting for all plugin processes to complete... | |
2019/02/06 12:30:57 /home/robert.hencke/src/packertest/packer: plugin process exited |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment