Skip to content

nosamanuel/blockade

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 

Repository files navigation

Blockade

Blocks until a port becomes available.

Usage:

blockade $HOST $PORT

Example:

docker run -d -e MYSQL_ROOT_PASSWORD=foo --name mysql percona:5.6
docker run --rm -it -l mysql blockade mysql 3306

Output:

Waiting for mysql...
Waiting for mysql...
Waiting for mysql...
mysql is ready!

Configuration:

  • SLEEP: the number of seconds to sleep between retries. Defaults to 1.

About

Blocks until a port becomes available.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%