Skip to content

Docker API (socket) wrapper to get ports inside of a container. Plus serf -tags to expose mapped 49XXX ports.

License

Notifications You must be signed in to change notification settings

vshulyak/docker-port-introspect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-port-introspect

Docker API (socket) wrapper to get ports inside of a container. Plus serf -tags to expose mapped 49XXX ports.

It is intended to be used with Serf (not needed for Consul).

A common use case is to make your dockerized services ports available for a Serf cluster. This script will format -tags field so you'll be able to fetch port information from other cluster members.

I hope when libswarm becomes stable enough and some issues preventing Consul from working correctly (like flapping state due to tcp/udp binding in the wrong way, as well as problem with advertising the Consul client ports).

About

Docker API (socket) wrapper to get ports inside of a container. Plus serf -tags to expose mapped 49XXX ports.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages