Install jenkins docker image with Terraform
Today we are going to install jenkins docker image with the help of terraform. Let's do it:
Let's create a terraform file to create the docker image of jenkins:
Now, init the terraform:
Format and validate the configuration
Now, check plan and apply
Prompt yes only your configuration is correct:
If you're using localhost, you can try: http://localhost:8080
Otherwise you can also try ngrok as I already mention on the Terraform installation
Tmux will be more helpful to you for testing:
ctrl + b and then press d to disattach the session
Later, you can also use
Your session will run on background.
Now access the public URL and here it goes:
Now, get the password; In my case:
Login this admin credentials:
Last updated