So, I just went through the process of figuring out how to do this (use the hashicorp/terraform image through the cli) and I did a short write up (very rough and really just a note to myself) on how to this and the exact command you will need are here: https://blog.elreydetoda.site/docker-terraform/#generalcommands
the rest of the blog post tries to explain why you need to do those specific command, but comment either here or on the blog and let me know if you are confused about anything.
3 Likes