[packer] Packer and docker builder windowsservercore example

2018-03-05 Thread Simon G
Hi, On Windows 10, I’m trying to use packer with Windows docker builder and provision an image based on Microsoft/windowsservercore with some additions with the Powershell provisioner. Do I need to use WinRM as a communicator? I presume so. Has anyone got any examples or can you point me to s

Re: [packer] Packer and docker builder windowsservercore example

2018-03-05 Thread Simon G
Hmm. Thanks for the reply. You made me feel better already! I spent days trying to figure out why it was failing to do even a basic packer docker Windows container windows build with a volume issue/error. Eventually after much trial and error I stumbled upon a set of things I tried which made it

Re: [packer] Packer and docker builder windowsservercore example

2018-03-06 Thread Simon G
So, just for clarity the 2nd error I'm still getting is: ==> docker2k12r2: Killing the container: 6d90ed6ff388440b4b959680ddbf42a1d5b9691dabb7fb464ff878fd2d502f46 Build 'docker2k16' errored: Error processing command: Error uploading ps script containing env vars: Failed to upload to '${env:SYST