https://github.com/darkwizard242/docker-terraform
Dockerfiles for Terraform
https://github.com/darkwizard242/docker-terraform
Last synced: 5 months ago
JSON representation
Dockerfiles for Terraform
- Host: GitHub
- URL: https://github.com/darkwizard242/docker-terraform
- Owner: darkwizard242
- License: mit
- Created: 2019-02-05T00:24:41.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-15T02:52:50.000Z (about 7 years ago)
- Last Synced: 2025-06-03T17:55:38.003Z (about 1 year ago)
- Language: Dockerfile
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/Tech-Overlord/dockerterraform/blob/master/LICENSE)
# docker-terraform
Docker containers that have Terraform pre-installed and available to be used right away.
* Terraform version currently available in Docker Images: `0.11.13`
# Supported tags and Dockerfile:
For Ubuntu 18.04 (bionic), docker tag and Docker file:
* [ubuntu1804](https://github.com/Tech-Overlord/docker-terraform/blob/master/ubuntu/bionic/Dockerfile)
For Ubuntu 16.04 (xenial), docker tag and Docker file:
* [ubuntu1604](https://github.com/Tech-Overlord/docker-terraform/blob/master/ubuntu/xenial/Dockerfile)
For CentOS7, docker tag and Docker file:
* [centos7](https://github.com/Tech-Overlord/docker-terraform/blob/master/centos/7/Dockerfile)
# How to use:
Simply pull the docker image using whichever tag you prefer or run it directly.
For instance, if you would like to use a Ubuntu 18.04 (bionic) container with pre-installed Terraform, then run the following and you will have interactive access to the container:
```shell
docker run -it darkwizard242/terraform:ubuntu1804 /bin/bash
```
This will pull the image down and then attach to the container.
Similarly, for using Terraform in a Ubuntu 16.04 (xenial) container or a CentOS7 container.
```shell
docker run -it darkwizard242/terraform:ubuntu1604 /bin/bash
```
or
```shell
docker run -it darkwizard242/terraform:centos7 /bin/bash
```
**Note:** Image tag `latest` (i.e. darkwizard242/terraform:latest ) has Ubuntu1804 as the underlying container image.