(formerly Norman) • 10 years at Lawrence Livermore National Laboratory (U.S. Department of Energy) • Jeg snakker litt norsk, men du ikke vil at jeg skal! • Architect for Blue Coat’s Malware Analysis Appliance git clone https://github.com/kung-foo/dod-workshop cd dod-workshop && ./workshop-init.sh http://keybase.io/kung_foo 8F1F B151 D565 3923 @irondojo
Can we dynamically add and remove node.js containers? • How do we avoid hard-coding location/ports? • Why are all Docker examples based on nginx + node.js?
ready to go b. Use docker-compose c. Understand: docker run --link d. Scale redis container by one e. Scale web container by one 2. Caveat for 1.9 Show me the code!
current containers and services 2. New a. gliderlabs/registrator b. consul (will introduce fully in next demo) 3. Notes a. we could just use the docker API, why not? The Registrator
messy. /etc/hosts? Limited, getting better with Docker 1.9 Docker API? Requires access to the Docker daemon. Registrator? Simple, fast, combined with Consul can provide health checks. Can we do better?