orchardup/fig — pull request #92 by SkinyMonkey (2014-02-13 14:12:36+00:00)
Title: Feature/interface bind

Add the interface binding to the port forwarding, case like:

```
- 172.17.42.1:4245
- 172.17.42.1:4246:4246
- 172.17.42.1:4247/udp
- 172.17.42.1:4258:4248/udp
```

are now working.

TODO : add some unit tests.

I tested and checked by hand, reading docker ps ouput, with the following fig.yml:

```
test:
image: ubuntu
ports:
- 4243
- 4244:4244
- 172.17.42.1:4245
- 172.17.42.1:4246:4246

- 4247/udp
- 4248:4248/udp
- 172.17.42.1:4249/udp
- 172.17.42.1:4250:4250/udp
command: sh -c "echo 'Launched'; sleep 6000"
```