Jhooq
open-menu closeme
Home
Ansible
Kubernetes
Terraform
Google Cloud
YouTube
Tools
About
Contact
github twitter linkedin rss
  • How to expose port on live containers?

    calendar Sep 21, 2021 · 6 min read  ·
    Last Modified : Aug 21, 2021
    Share on: twitter facebook linkedin copy
    How to expose port on live containers?

    As DevOps, we often make quite a lot of mistakes and one of the most oversight mistakes we generally do is forget to expose a port for the container. When you realize that you have not exposed any port for the container then you start looking for ways to change the port mapping of a live container or in other words, …


    Read More
  • How to expose multiple ports with Docker?

    calendar Sep 16, 2021 · 7 min read  ·
    Last Modified : Aug 11, 2021
    Share on: twitter facebook linkedin copy
    How to expose multiple ports with Docker?

    When we package any application using Docker then either we create Dockerfile or docker-compose.yaml, even you can create both the files and share the files with others. There is one important aspect in both the files .i.e. PORT. Any container which you build and ship to other developers has to have one or more …


    Read More
  • How to delete all the Git, BitBucket branches which have been merged?

    calendar Aug 26, 2021 · 5 min read · GitHub  ·
    Last Modified : Aug 26, 2021
    Share on: twitter facebook linkedin copy
    How to delete all the Git, BitBucket branches which have been merged?

    I usually work with multiple projects at once and whenever there is a new feature on which I had to work, I usually create a new Branch from my Master branch and once I am done with the new feature I do create a pull request and after the approval, I do merge my changes from my new Branch to my Master branch. Well, …


    Read More
  • fatal: unable to update url base from redirection - What It Means and the 5 Causes (git clone, git push, proxy login page, wrong URL, renamed repo)

    calendar Aug 23, 2021 · 12 min read · GitHub  ·
    Last Modified : Oct 17, 2026
    Share on: twitter facebook linkedin copy
    fatal: unable to update url base from redirection - What It Means and the 5 Causes (git clone, git push, proxy login page, wrong URL, renamed repo)

    TL;DR What it means: git sent its first request (GET <your-url>/info/refs?service=git-upload-pack for clone and fetch, git-receive-pack for push) and the server answered with a redirect to a different path. git only follows a redirect that keeps the same /info/refs?service=... tail; anything else, for example …


    Read More
  • How to use Workspaces in Terraform?

    calendar Aug 18, 2021 · 5 min read  ·
    Last Modified : Oct 9, 2021
    Share on: twitter facebook linkedin copy
    How to use Workspaces in Terraform?

    Terraform worksapces is a very logical concept where you can have multiple states of your infrastructure configuration. To put this in simple words if you are running an infrastructure configuration in development environment then the same infrastructure can be run in the production environment. The main benefit of …


    Read More
  • How to run specific terraform resource, module, target?

    calendar Aug 15, 2021 · 2 min read  ·
    Last Modified : Aug 15, 2021
    Share on: twitter facebook linkedin copy
    How to run specific terraform resource, module, target?

    Terraform file always grows as you span your infrastructure and add multiple servers to your cloud-hosted infrastructure. But imagine you have terraform file which contains lots of resources but you only do not want to apply the complete terraform configuration but instead, you just want to run one specific or some …


    Read More
  • docker restart container - Restart One Container (or One Compose Service) Without Touching the Others, with Real Output from Docker 28

    calendar Aug 11, 2021 · 10 min read  ·
    Last Modified : Oct 17, 2026
    Share on: twitter facebook linkedin copy
    docker restart container - Restart One Container (or One Compose Service) Without Touching the Others, with Real Output from Docker 28

    TL;DR One container: docker restart <name-or-id>. Only that container stops and starts again; the others keep running. Reproduced below with nginx, redis and postgres side by side. Grace period: docker restart --timeout 30 <name> waits up to 30 seconds for the process to exit cleanly before killing it. The …


    Read More
  • How Terraform Modules Work: Write a Module, Test It with terraform test, Version It and Rename It with moved Blocks (Terraform 1.17)

    calendar Aug 9, 2021 · 13 min read · Terraform  ·
    Last Modified : Oct 30, 2026
    Share on: twitter facebook linkedin copy
    How Terraform Modules Work: Write a Module, Test It with terraform test, Version It and Rename It with moved Blocks (Terraform 1.17)

    TL;DR TL;DR A Terraform module is any directory of .tf files; the directory you run terraform apply in is the root module, and every module block calls a child module from it. A module needs three files to be useful: main.tf, variables.tf and outputs.tf, which is the layout the Terraform docs recommend for a minimal …


    Read More
  • How to edit file within Docker container or edit a file after I shell into a Docker container?

    calendar Aug 5, 2021 · 6 min read  ·
    Last Modified : Aug 5, 2021
    Share on: twitter facebook linkedin copy
    How to edit file within Docker container or edit a file after I shell into a Docker container?

    While working on my Spring Boot Microservices with Docker I felt a need to edit some of the files present under my docker container. But when I tried to edit the file nano application.yaml it throws me an error bash: nano: command not found. So I was not able to edit the file which is present inside my running docker …


    Read More
  • Failed to start docker.service: Unit docker.service not found - the fix on CentOS, Rocky and RHEL 9 (and why dnf install docker makes it worse)

    calendar Jul 24, 2021 · 9 min read  ·
    Last Modified : Oct 15, 2026
    Share on: twitter facebook linkedin copy
    Failed to start docker.service: Unit docker.service not found - the fix on CentOS, Rocky and RHEL 9 (and why dnf install docker makes it worse)

    TL;DR The message is literal. Failed to start docker.service: Unit docker.service not found. means there is no file called docker.service under /usr/lib/systemd/system/. Docker Engine is not installed, however many docker commands you have run. dnf install docker does not install Docker on CentOS, Rocky or RHEL 9. It …


    Read More
    • ««
    • «
    • 16
    • 17
    • 18
    • 19
    • 20
    • »
    • »»

Categories

TERRAFORM 67 AWS 50 KUBERNETES 29 DOCKER 28 ANSIBLE 15 HELM CHART 12 DEVOPS 8 GOOGLE CLOUD 8 BLOGGING 6 SSL 6 GITHUB 5 SPRING BOOT 5 AZURE 4 QUARKUS 4
All Categories

AI1 ANSIBLE15 AWS50 AZURE4 BLOGGING6 DEVOPS8 DOCKER28 GITHUB5 GOOGLE CLOUD8 GRADLE1 HADOOP1 HELM CHART12 HIBERNATE1 JENKINS2 KUBERNETES29 KUBESPRAY3 LINUX COMMANDS1 NGINX2 PROMETHEUS-GRAFANA3 QUARKUS4 SPRING BOOT5 SSL6 TERRAFORM67 VAGRANT3
[A~Z][0~9]

Series

TERRAFORM 65 AWS 39 KUBERNETES 29 DOCKER 28 ANSIBLE 14 HELM CHART 12 GOOGLE CLOUD 8 AZURE 4 DEVOPS 4 JENKINS 2 AI 1 LINUX COMMANDS 1

Tags

KUBERNETES 21 HELM CHART 11 TERRAFORM 11 BLOGGING 4 QUARKUS 4 DOCKER 3 GITHUB 3 SSL 3 ANSIBLE 2 CAREER 2 KUBESPRAY 2 SPRING BOOT 2 ANSIBLE INSTALLATION 1 AWS 1
All Tags

ANSIBLE2 ANSIBLE INSTALLATION1 AWS1 AZURE1 BLOGGING4 CAREER2 DEVOPS1 DOCKER3 GIT1 GITHUB3 HADOOP1 HELM CHART11 INDEX1 KUBERNETES21 KUBESPRAY2 NGINX1 QUARKUS4 SECRETS1 SECURITY1 SPRING BOOT2 SSL3 TERRAFORM11 TERRAFORM ERRORS1
[A~Z][0~9]

Recent Posts

  • terraform console: Evaluate Expressions, Functions and cidrsubnet Without Applying Anything (Terraform 1.17)
  • Terraform tls_private_key: Generate SSH Keys and Self-Signed Certificates with the tls Provider (Terraform 1.17)
  • Stop Using .env Files for Secrets: Encrypt Them with sops and age Instead (Real Output, gitleaks Included)
  • Ansible on AWS: Zero-Downtime Deploys Behind an ALB, RDS, and an AI Postmortem (Project 2)
  • Kubernetes IP Address Planning: 22 Problems the Free IP Calculator Solves on EKS, GKE, AKS and On-Premises (kubeadm, Mirantis MKE, RKE2, OpenShift, Tanzu, Talos), with the Numbers and a Screenshot for Each
  • git rebase --exec Explained - Run Your Tests on Every Commit Before You Push, with Real Output, the Failure Path, and the Three Things That Bit Me
  • helm template Explained - Render a Helm Chart Locally Without a Cluster (Helm 4): Values Files, --set, --show-only, --output-dir, and the Traps That Bite
  • Should You Do a Cloud Certification? The Four Reasons I Tell People Not to Collect Them, What the Exams Cost in 2026, and the One Case Where a Certificate Is Worth the Money

Rahul Wagh

Jhooq
Its all about Open Source and DevOps, here I talk about Kubernetes, Docker, Java, Spring boot and practices.
Read More


Jhooq

Copyright 2019-  JHOOQ. All Rights Reserved

to-top
Privacy Policy