How to run terrform in a docker container
# yum install docker -y
# service docker start
# docker pull hashicorp/terraform:light
# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
docker.io/hashicorp/terraform latest cf1880f62701 6 days ago 96.62 MB