Pencil is a simple service-registration tool for Docker and uses Consul as a backend for Service-Discovery. It basically syncronizes the "diff" between the local state (Running Docker Containers) and the remote state on Consul registry every (n) seconds. The default is set to 10s.
Pencil does not perform bulk syncing, it only syncronizes the changes the additions or deletions to Consul which is highly important for external Load-balancing and service-monitoring.
docker run -it -v /var/run/docker.sock:/var/run/docker.sock alaa/pencil:2 <consul-registry-address>