Skip to content

jamesdabbs/droxy

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 

Droxy

Like pow, but for docker machines.

With droxy running, dev.dock:3000 will resolve to $(docker-machine ip dev):3000.

N.B. droxy uses /etc/resolver, and thus will likely only work on OSX

Installation

One-time setup:

$ gem install droxy
$ sudo droxy install

Droxy writes a /etc/resolver file, and thus needs sudo access to install.

Once droxy is installed, run the dns server with

$ droxy start

You will, of course, need docker-machine installed and available.

TODO

  • Have installer write a plist file to auto-start on boot
  • Some mechanism for showing errors (is the docker machine not running?)
  • Better way to restart the network config after writing a resolver file?
  • More Celluloid
    • Port to Celluloid::DNS once it's fully extracted
    • Make the ip (pre-)fetcher/cache an actor

About

Like pow, but for docker-machines

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages