wait4x
« Back to VersTracker
Description:
Wait for a port or a service to enter the requested state
Type: Formula  |  Latest Version: 3.6.0@0  |  Tracked Since: Oct 20, 2025
Links: Homepage  |  formulae.brew.sh
Category: Devops
Tags: devops cli health-check docker ci-cd
Install: brew install wait4x
About:
wait4x is a command-line utility designed to wait for a specific port or service to become available or reach a desired state. It helps prevent race conditions in container orchestration and CI/CD pipelines by ensuring dependencies are ready before proceeding. The tool supports TCP, HTTP, and other protocols with configurable timeouts and intervals.
Key Features:
  • Supports TCP, HTTP, and ICMP checks
  • Configurable timeouts and retry intervals
  • Zero dependencies (static binary)
  • Docker and CI/CD friendly
Use Cases:
  • Waiting for database containers to be ready in Docker Compose
  • Ensuring API services are up before running integration tests
  • Health checking in Kubernetes init containers
Alternatives:
  • dockerize – Dockerize is Docker-specific, while wait4x is a standalone binary
  • wait-for-it – wait-for-it is bash-based; wait4x is faster and supports more protocols
Version History
Detected Version Rev Change Commit
Oct 20, 2025 11:29pm 0 VERSION_BUMP bd0f4814