Created
April 21, 2017 15:03
-
-
Save justincampbell/f2f6b778fc09324726eebc24e537da9f 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
2017/04/21 11:02:16 [INFO] Packer version: 1.1.0-dev (3608d81319f99e20c8c66ad5fffb3c211ee535b9) | |
2017/04/21 11:02:16 Packer Target OS/Arch: darwin amd64 | |
2017/04/21 11:02:16 Built with Go Version: go1.8.1 | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: amazon-chroot = /Users/Justin/Code/go/bin/packer-builder-amazon-chroot | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: amazon-ebs = /Users/Justin/Code/go/bin/packer-builder-amazon-ebs | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: amazon-instance = /Users/Justin/Code/go/bin/packer-builder-amazon-instance | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: digitalocean = /Users/Justin/Code/go/bin/packer-builder-digitalocean | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: docker = /Users/Justin/Code/go/bin/packer-builder-docker | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: file = /Users/Justin/Code/go/bin/packer-builder-file | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: googlecompute = /Users/Justin/Code/go/bin/packer-builder-googlecompute | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: null = /Users/Justin/Code/go/bin/packer-builder-null | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: openstack = /Users/Justin/Code/go/bin/packer-builder-openstack | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: parallels-iso = /Users/Justin/Code/go/bin/packer-builder-parallels-iso | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: parallels-pvm = /Users/Justin/Code/go/bin/packer-builder-parallels-pvm | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: qemu = /Users/Justin/Code/go/bin/packer-builder-qemu | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: virtualbox-iso = /Users/Justin/Code/go/bin/packer-builder-virtualbox-iso | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: virtualbox-ovf = /Users/Justin/Code/go/bin/packer-builder-virtualbox-ovf | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: vmware-iso = /Users/Justin/Code/go/bin/packer-builder-vmware-iso | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: vmware-vmx = /Users/Justin/Code/go/bin/packer-builder-vmware-vmx | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: artifice = /Users/Justin/Code/go/bin/packer-post-processor-artifice | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: atlas = /Users/Justin/Code/go/bin/packer-post-processor-atlas | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: compress = /Users/Justin/Code/go/bin/packer-post-processor-compress | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: docker-import = /Users/Justin/Code/go/bin/packer-post-processor-docker-import | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: docker-push = /Users/Justin/Code/go/bin/packer-post-processor-docker-push | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: docker-save = /Users/Justin/Code/go/bin/packer-post-processor-docker-save | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: docker-tag = /Users/Justin/Code/go/bin/packer-post-processor-docker-tag | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: vagrant = /Users/Justin/Code/go/bin/packer-post-processor-vagrant | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: vagrant-cloud = /Users/Justin/Code/go/bin/packer-post-processor-vagrant-cloud | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: vsphere = /Users/Justin/Code/go/bin/packer-post-processor-vsphere | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: ansible-local = /Users/Justin/Code/go/bin/packer-provisioner-ansible-local | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: chef-client = /Users/Justin/Code/go/bin/packer-provisioner-chef-client | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: chef-solo = /Users/Justin/Code/go/bin/packer-provisioner-chef-solo | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: file = /Users/Justin/Code/go/bin/packer-provisioner-file | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: powershell = /Users/Justin/Code/go/bin/packer-provisioner-powershell | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: puppet-masterless = /Users/Justin/Code/go/bin/packer-provisioner-puppet-masterless | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: puppet-server = /Users/Justin/Code/go/bin/packer-provisioner-puppet-server | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: salt-masterless = /Users/Justin/Code/go/bin/packer-provisioner-salt-masterless | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: shell = /Users/Justin/Code/go/bin/packer-provisioner-shell | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: shell-local = /Users/Justin/Code/go/bin/packer-provisioner-shell-local | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: windows-restart = /Users/Justin/Code/go/bin/packer-provisioner-windows-restart | |
2017/04/21 11:02:16 [DEBUG] Discovered plugin: windows-shell = /Users/Justin/Code/go/bin/packer-provisioner-windows-shell | |
2017/04/21 11:02:16 Detected home directory from env var: /Users/Justin | |
2017/04/21 11:02:16 Using internal plugin for azure-arm | |
2017/04/21 11:02:16 Using internal plugin for cloudstack | |
2017/04/21 11:02:16 Using internal plugin for oneandone | |
2017/04/21 11:02:16 Using internal plugin for profitbricks | |
2017/04/21 11:02:16 Using internal plugin for triton | |
2017/04/21 11:02:16 Using internal plugin for amazon-ebssurrogate | |
2017/04/21 11:02:16 Using internal plugin for amazon-ebsvolume | |
2017/04/21 11:02:16 Using internal plugin for hyperv-iso | |
2017/04/21 11:02:16 Using internal plugin for converge | |
2017/04/21 11:02:16 Using internal plugin for ansible | |
2017/04/21 11:02:16 Using internal plugin for shell-local | |
2017/04/21 11:02:16 Using internal plugin for googlecompute-export | |
2017/04/21 11:02:16 Using internal plugin for amazon-import | |
2017/04/21 11:02:16 Using internal plugin for manifest | |
2017/04/21 11:02:16 Using internal plugin for checksum | |
2017/04/21 11:02:16 Detected home directory from env var: /Users/Justin | |
2017/04/21 11:02:16 Attempting to open config file: /Users/Justin/.packerconfig | |
2017/04/21 11:02:16 [WARN] Config file doesn't exist: /Users/Justin/.packerconfig | |
2017/04/21 11:02:16 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[hyperv-iso:/Users/Justin/Code/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso amazon-ebs:/Users/Justin/Code/go/bin/packer-builder-amazon-ebs docker:/Users/Justin/Code/go/bin/packer-builder-docker parallels-iso:/Users/Justin/Code/go/bin/packer-builder-parallels-iso parallels-pvm:/Users/Justin/Code/go/bin/packer-builder-parallels-pvm cloudstack:/Users/Justin/Code/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack file:/Users/Justin/Code/go/bin/packer-builder-file openstack:/Users/Justin/Code/go/bin/packer-builder-openstack qemu:/Users/Justin/Code/go/bin/packer-builder-qemu vmware-iso:/Users/Justin/Code/go/bin/packer-builder-vmware-iso azure-arm:/Users/Justin/Code/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm null:/Users/Justin/Code/go/bin/packer-builder-null profitbricks:/Users/Justin/Code/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks triton:/Users/Justin/Code/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton virtualbox-ovf:/Users/Justin/Code/go/bin/packer-builder-virtualbox-ovf vmware-vmx:/Users/Justin/Code/go/bin/packer-builder-vmware-vmx oneandone:/Users/Justin/Code/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone amazon-chroot:/Users/Justin/Code/go/bin/packer-builder-amazon-chroot amazon-instance:/Users/Justin/Code/go/bin/packer-builder-amazon-instance digitalocean:/Users/Justin/Code/go/bin/packer-builder-digitalocean googlecompute:/Users/Justin/Code/go/bin/packer-builder-googlecompute virtualbox-iso:/Users/Justin/Code/go/bin/packer-builder-virtualbox-iso amazon-ebssurrogate:/Users/Justin/Code/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate amazon-ebsvolume:/Users/Justin/Code/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume] PostProcessors:map[manifest:/Users/Justin/Code/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest checksum:/Users/Justin/Code/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum docker-push:/Users/Justin/Code/go/bin/packer-post-processor-docker-push vagrant-cloud:/Users/Justin/Code/go/bin/packer-post-processor-vagrant-cloud shell-local:/Users/Justin/Code/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local googlecompute-export:/Users/Justin/Code/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export amazon-import:/Users/Justin/Code/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import docker-save:/Users/Justin/Code/go/bin/packer-post-processor-docker-save docker-tag:/Users/Justin/Code/go/bin/packer-post-processor-docker-tag vagrant:/Users/Justin/Code/go/bin/packer-post-processor-vagrant compress:/Users/Justin/Code/go/bin/packer-post-processor-compress docker-import:/Users/Justin/Code/go/bin/packer-post-processor-docker-import vsphere:/Users/Justin/Code/go/bin/packer-post-processor-vsphere artifice:/Users/Justin/Code/go/bin/packer-post-processor-artifice atlas:/Users/Justin/Code/go/bin/packer-post-processor-atlas] Provisioners:map[chef-solo:/Users/Justin/Code/go/bin/packer-provisioner-chef-solo powershell:/Users/Justin/Code/go/bin/packer-provisioner-powershell puppet-masterless:/Users/Justin/Code/go/bin/packer-provisioner-puppet-masterless windows-shell:/Users/Justin/Code/go/bin/packer-provisioner-windows-shell converge:/Users/Justin/Code/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge ansible:/Users/Justin/Code/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible shell:/Users/Justin/Code/go/bin/packer-provisioner-shell shell-local:/Users/Justin/Code/go/bin/packer-provisioner-shell-local windows-restart:/Users/Justin/Code/go/bin/packer-provisioner-windows-restart ansible-local:/Users/Justin/Code/go/bin/packer-provisioner-ansible-local chef-client:/Users/Justin/Code/go/bin/packer-provisioner-chef-client file:/Users/Justin/Code/go/bin/packer-provisioner-file puppet-server:/Users/Justin/Code/go/bin/packer-provisioner-puppet-server salt-masterless:/Users/Justin/Code/go/bin/packer-provisioner-salt-masterless]} | |
2017/04/21 11:02:16 Setting cache directory: /Users/Justin/Code/packer-vagrantcloud-example/packer_cache | |
2017/04/21 11:02:16 Detected home directory from env var: /Users/Justin | |
2017/04/21 11:02:16 Loading builder: docker | |
2017/04/21 11:02:16 Creating plugin client for path: /Users/Justin/Code/go/bin/packer-builder-docker | |
2017/04/21 11:02:16 Starting plugin: /Users/Justin/Code/go/bin/packer-builder-docker []string{"/Users/Justin/Code/go/bin/packer-builder-docker"} | |
2017/04/21 11:02:16 Waiting for RPC address for: /Users/Justin/Code/go/bin/packer-builder-docker | |
2017/04/21 11:02:16 packer-builder-docker: 2017/04/21 11:02:16 Plugin minimum port: 10000 | |
2017/04/21 11:02:16 packer-builder-docker: 2017/04/21 11:02:16 Plugin maximum port: 25000 | |
2017/04/21 11:02:16 packer-builder-docker: 2017/04/21 11:02:16 Plugin address: unix /var/folders/m0/1flc3cw946q5pf5b55d6rkq80000gn/T/packer-plugin310877679 | |
2017/04/21 11:02:16 packer-builder-docker: 2017/04/21 11:02:16 Waiting for connection... | |
2017/04/21 11:02:16 packer-builder-docker: 2017/04/21 11:02:16 Serving a plugin connection... | |
2017/04/21 11:02:16 Loading post-processor: vagrant | |
2017/04/21 11:02:16 Creating plugin client for path: /Users/Justin/Code/go/bin/packer-post-processor-vagrant | |
2017/04/21 11:02:16 Starting plugin: /Users/Justin/Code/go/bin/packer-post-processor-vagrant []string{"/Users/Justin/Code/go/bin/packer-post-processor-vagrant"} | |
2017/04/21 11:02:16 Waiting for RPC address for: /Users/Justin/Code/go/bin/packer-post-processor-vagrant | |
2017/04/21 11:02:16 packer-post-processor-vagrant: 2017/04/21 11:02:16 Plugin minimum port: 10000 | |
2017/04/21 11:02:16 packer-post-processor-vagrant: 2017/04/21 11:02:16 Plugin maximum port: 25000 | |
2017/04/21 11:02:16 packer-post-processor-vagrant: 2017/04/21 11:02:16 Plugin address: unix /var/folders/m0/1flc3cw946q5pf5b55d6rkq80000gn/T/packer-plugin882946050 | |
2017/04/21 11:02:16 packer-post-processor-vagrant: 2017/04/21 11:02:16 Waiting for connection... | |
2017/04/21 11:02:16 packer-post-processor-vagrant: 2017/04/21 11:02:16 Serving a plugin connection... | |
2017/04/21 11:02:16 ui: [1;32mdocker output will be in this color.[0m | |
2017/04/21 11:02:16 ui: | |
2017/04/21 11:02:16 Build debug mode: false | |
2017/04/21 11:02:16 Force build: false | |
2017/04/21 11:02:16 On error: | |
2017/04/21 11:02:16 Preparing build: docker | |
[1;32mdocker output will be in this color.[0m | |
2017/04/21 11:02:16 Waiting on builds to complete... | |
2017/04/21 11:02:16 Starting build run: docker | |
2017/04/21 11:02:16 Running builder: docker | |
2017/04/21 11:02:16 packer-builder-docker: 2017/04/21 11:02:16 [DEBUG] Docker version: 17.5.0-ce-rc1 | |
2017/04/21 11:02:16 packer-builder-docker: 2017/04/21 11:02:16 [DEBUG] Container will be exported to alpine.tar | |
2017/04/21 11:02:16 ui: [1;32m==> docker: Creating a temporary directory for sharing data...[0m | |
[1;32m==> docker: Creating a temporary directory for sharing data...[0m | |
2017/04/21 11:02:16 ui: [1;32m==> docker: Pulling Docker image: alpine[0m | |
[1;32m==> docker: Pulling Docker image: alpine[0m | |
2017/04/21 11:02:16 packer-builder-docker: 2017/04/21 11:02:16 Executing: /usr/local/bin/docker [pull alpine] | |
2017/04/21 11:02:16 ui: [0;32m docker: Using default tag: latest[0m | |
[0;32m docker: Using default tag: latest[0m | |
2017/04/21 11:02:17 ui: [0;32m docker: latest: Pulling from library/alpine[0m | |
2017/04/21 11:02:17 ui: [0;32m docker: Digest: sha256:58e1a1bb75db1b5a24a462dd5e2915277ea06438c3f105138f97eb53149673c4[0m | |
[0;32m docker: latest: Pulling from library/alpine[0m | |
2017/04/21 11:02:17 ui: [0;32m docker: Status: Image is up to date for alpine:latest[0m | |
[0;32m docker: Digest: sha256:58e1a1bb75db1b5a24a462dd5e2915277ea06438c3f105138f97eb53149673c4[0m | |
[0;32m docker: Status: Image is up to date for alpine:latest[0m | |
2017/04/21 11:02:17 ui: [1;32m==> docker: Starting docker container...[0m | |
[1;32m==> docker: Starting docker container...[0m | |
2017/04/21 11:02:17 ui: [0;32m docker: Run command: docker run -v /var/folders/m0/1flc3cw946q5pf5b55d6rkq80000gn/T/packer-docker727752322:/packer-files -d -i -t alpine /bin/bash[0m | |
2017/04/21 11:02:17 packer-builder-docker: 2017/04/21 11:02:17 Starting container with args: [run -v /var/folders/m0/1flc3cw946q5pf5b55d6rkq80000gn/T/packer-docker727752322:/packer-files -d -i -t alpine /bin/bash] | |
[0;32m docker: Run command: docker run -v /var/folders/m0/1flc3cw946q5pf5b55d6rkq80000gn/T/packer-docker727752322:/packer-files -d -i -t alpine /bin/bash[0m | |
2017/04/21 11:02:17 packer-builder-docker: 2017/04/21 11:02:17 Waiting for container to finish starting | |
2017/04/21 11:02:17 ui error: [1;31m==> docker: Error running container: Docker exited with a non-zero exit status. | |
==> docker: Stderr: docker: Error response from daemon: Mounts denied: -for-mac/osxfs/#namespaces for more info. | |
==> docker: . | |
==> docker: pf5b55d6rkq80000gn/T/packer-docker727752322 | |
==> docker: is not shared from OS X and is not known to Docker. | |
==> docker: You can configure shared paths from Docker -> Preferences... -> File Sharing. | |
==> docker: See https://docs.docker.com/docker. | |
==> docker:[0m | |
[1;31m==> docker: Error running container: Docker exited with a non-zero exit status. | |
==> docker: Stderr: docker: Error response from daemon: Mounts denied: -for-mac/osxfs/#namespaces for more info. | |
==> docker: . | |
==> docker: pf5b55d6rkq80000gn/T/packer-docker727752322 | |
==> docker: is not shared from OS X and is not known to Docker. | |
2017/04/21 11:02:17 ui error: [1;31mBuild 'docker' errored: Error running container: Docker exited with a non-zero exit status. | |
Stderr: docker: Error response from daemon: Mounts denied: -for-mac/osxfs/#namespaces for more info. | |
. | |
pf5b55d6rkq80000gn/T/packer-docker727752322 | |
is not shared from OS X and is not known to Docker. | |
You can configure shared paths from Docker -> Preferences... -> File Sharing. | |
See https://docs.docker.com/docker. | |
[0m | |
2017/04/21 11:02:17 Builds completed. Waiting on interrupt barrier... | |
2017/04/21 11:02:17 machine readable: error-count []string{"1"} | |
2017/04/21 11:02:17 ui error: | |
==> Some builds didn't complete successfully and had errors: | |
2017/04/21 11:02:17 machine readable: docker,error []string{"Error running container: Docker exited with a non-zero exit status.\nStderr: docker: Error response from daemon: Mounts denied: -for-mac/osxfs/#namespaces for more info.\r\n.\npf5b55d6rkq80000gn/T/packer-docker727752322\r\nis not shared from OS X and is not known to Docker.\r\nYou can configure shared paths from Docker -> Preferences... -> File Sharing.\r\nSee https://docs.docker.com/docker.\n"} | |
2017/04/21 11:02:17 ui error: --> docker: Error running container: Docker exited with a non-zero exit status. | |
Stderr: docker: Error response from daemon: Mounts denied: -for-mac/osxfs/#namespaces for more info. | |
. | |
pf5b55d6rkq80000gn/T/packer-docker727752322 | |
is not shared from OS X and is not known to Docker. | |
You can configure shared paths from Docker -> Preferences... -> File Sharing. | |
See https://docs.docker.com/docker. | |
2017/04/21 11:02:17 ui: | |
==> Builds finished but no artifacts were created. | |
2017/04/21 11:02:17 waiting for all plugin processes to complete... | |
==> docker: You can configure shared paths from Docker -> Preferences... -> File Sharing. | |
==> docker: See https://docs.docker.com/docker. | |
==> docker:[0m | |
[1;31mBuild 'docker' errored: Error running container: Docker exited with a non-zero exit status. | |
Stderr: docker: Error response from daemon: Mounts denied: -for-mac/osxfs/#namespaces for more info. | |
. | |
pf5b55d6rkq80000gn/T/packer-docker727752322 | |
is not shared from OS X and is not known to Docker. | |
You can configure shared paths from Docker -> Preferences... -> File Sharing. | |
See https://docs.docker.com/docker. | |
[0m | |
==> Some builds didn't complete successfully and had errors: | |
--> docker: Error running container: Docker exited with a non-zero exit status. | |
Stderr: docker: Error response from daemon: Mounts denied: -for-mac/osxfs/#namespaces for more info. | |
. | |
pf5b55d6rkq80000gn/T/packer-docker727752322 | |
is not shared from OS X and is not known to Docker. | |
You can configure shared paths from Docker -> Preferences... -> File Sharing. | |
See https://docs.docker.com/docker. | |
2017/04/21 11:02:17 /Users/Justin/Code/go/bin/packer-builder-docker: plugin process exited | |
==> Builds finished but no artifacts were created. | |
2017/04/21 11:02:17 /Users/Justin/Code/go/bin/packer-post-processor-vagrant: plugin process exited |
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": "alpine", | |
"export_path": "alpine.tar" | |
} | |
], | |
"post-processors": [ | |
{ | |
"output": "builds/example.box", | |
"type": "vagrant" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment