Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

AkihiroSuda/balancker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Balancker: poor man's load-balancer for docker

Balancker picks up random $DOCKER_HOST from ~/.config/balancker

Config (~/.config/balancker):

# NOTE: ssh:// requires Docker v18.09 or later
ssh://node1
ssh://node2
# If you are using Docker before v18.09, forward the socket manually with
# `ssh -L` (or set up TLS)
unix:///path/to/docker.sock

Random mode:

$ eval $(balancker)
$ docker build -t foo /foo

Deterministic mode with seed argument:

$ eval $(balancker bar-seed)
$ docker build -t bar /bar

About

poor man's load-balancer for `docker`

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages