mirror of
https://github.com/patrickchugh/terravision.git
synced 2026-05-09 08:25:25 +02:00
[GH-ISSUE #169] ERROR: Failed to check Terraform version: Command '['terraform', '-v']' returned non-zero exit status 2. #98
Labels
No labels
bug
enhancement
enhancement
good first issue
good first issue
good first issue
pipeline
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/terravision#98
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Vishybear on GitHub (Feb 15, 2026).
Original GitHub issue: https://github.com/patrickchugh/terravision/issues/169
docker run --rm -it -v $(pwd):/project terravision draw --source /Users/Documents/Coding/Terraform/terraform-examples-aws/
this is what I'm running on a self built docker container on a MacBook Air m1
each time I get the error in the title
@patrickchugh commented on GitHub (Feb 15, 2026):
Which version of docker are you using ? Can you try using the docker image from docker hub instead of the self built one ? @Vishybear
@Vishybear commented on GitHub (Feb 15, 2026):
1.14.5 on the laptop. a docker Deep Dive says 1.10.5 on the container
@patrickchugh commented on GitHub (Feb 16, 2026):
Did the docker hub image work ?
@Vishybear commented on GitHub (Feb 16, 2026):
I can't pull the image on a Mac - I get that it cant find an arm version.
I can pull it on the PC and it works without the error - I just need to figure out how to reference the files
the rebuilt Mac version will run the --help command
@patrickchugh commented on GitHub (Feb 19, 2026):
you just need to make sure the TF source files are accessible in current folder or a subfolder of it since the docker command maps $pwd - your current folder - as a volume. I have added arm64 support to the DockerHub image now as well. Please try again and let me know if i can close this issue @Vishybear