Steps to provision nginx in docker using terraform

  1. open -a Docker
  2. add terraform configs into main file
  3. terraform init
  4. terraform apply
  5. Verify the existence of the NGINX container by visiting localhost:8000 in your web browser
  6. terraform destroy