I am using Hashicorp packer official docker image to validate and create a 
custom AMI. Below is the command I am using to validate the template2.json 
file which has the code to create custom AMI. I am using octopus deploy 
worker pool to execute this command.                                        
                                                                            
     docker run -i ee26c209af37 validate template2.json


but it's not able to detect the template2.json file and is giving "No such 
file or directory". Can you please advise if you guys have faced this kind 
of scenario.I have tried giving full path before template2.json also but 
same error.

-- 
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/hashicorp/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/b01258ef-e58d-49f0-b688-f56b60d935c0%40googlegroups.com.

Reply via email to