Slide 1

Slide 1 text

Weaving containers into applications Ilya Dmitrichenko @errordeveloper

Slide 2

Slide 2 text

Docker defines the shape of the app

Slide 3

Slide 3 text

Container is a unit of deployment

Slide 4

Slide 4 text

With Weave you can connect, observe & control

Slide 5

Slide 5 text

Weave is simple, portable & transparent

Slide 6

Slide 6 text

NGINX+ Has great support for DNS, but how do you leverage it?

Slide 7

Slide 7 text

$ORIGIN example.com $TTL 86400 @ IN SOA dns1.example.com. hostmaster.example.com. ( 2001062501 ; serial 21600 ; refresh after 6 hours 3600 ; retry after 1 hour 604800 ; expire after 1 week 86400 ) ; minimum TTL of 1 day IN NS dns1.example.com. IN NS dns2.example.com. IN MX 10 mail.example.com. IN MX 20 mail2.example.com. IN A 10.0.1.5 server1 IN A 10.0.1.5 server2 IN A 10.0.1.7 dns1 IN A 10.0.1.2 dns2 IN A 10.0.1.3 ftp IN CNAME server1 mail IN CNAME server1 mail2 IN CNAME server2 www IN CNAME server2

Slide 8

Slide 8 text

642 pages

Slide 9

Slide 9 text

http { resolver 10.1.0.1; upstream backends { zone backends 64k; server app.weave.local resolve; } }

Slide 10

Slide 10 text

docker run \ -h app.weave.local \ joe/the_app

Slide 11

Slide 11 text

Find out more at weave.works/net