Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Docker and Cloud Foundry

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.
Avatar for Andrew Crump Andrew Crump
November 18, 2014

Docker and Cloud Foundry

Sankt Leon-Rot, 18th November 2014

Avatar for Andrew Crump

Andrew Crump

November 18, 2014
Tweet

More Decks by Andrew Crump

Other Decks in Programming

Transcript

  1. commit a59fd12acf0284f3072cfecdf04f86975579e8d5 Author: mpage <[email protected]> Date: Wed Jul 20 13:27:09

    2011 -0700 Stager component skeleton This includes a basic gem skeleton that contains all of the staging code from the CC.
  2. commit 94309ac0b530b1c16563e4d8f97344472910fe88 Author: mpage <[email protected]> Date: Thu Dec 8 11:52:05

    2011 -0800 Add command to set memory limit for LXC containers This allows users to set the memory limit on their containers via 'memory.limit_in_bytes'. Containers whose cgroup exceeds the supplied limit will be destroyed automatically.
  3. commit 5cd661893b2a6989fc2c8ca77aa74af24150f2a3 Author: Pieter Noordhuis <[email protected]> Date: Tue Feb 21

    16:45:57 2012 -0800 warden: Use overlayfs on 12.04 The Ubuntu team is deprecating aufs for overlayfs starting with 12.04.
  4. commit f0fa9c621c21ca13d4573c329fcce85dc5f10948 Author: Pieter Noordhuis <[email protected]> Date: Fri Dec 9

    11:59:30 2011 -0800 warden: Support outbound network traffic filtering This adds support for black/whitelisting of networks.
  5. commit 57e2126a02f8b96b0542df7f6a573233d8419bb1 Author: Solomon Hykes <[email protected]> Date: Sat Mar 23

    17:48:18 2013 -0700 Bumped version to 0.1.0 commit a27b4b8cb8e838d03a99b6d2b30f76bdaf2f9e5d Author: Andrea Luzzardi <[email protected]> Date: Fri Jan 18 16:13:39 2013 -0800 Initial commit
  6. commit 69c69059fc3933531e19c05a9d2e831fb713881c Merge: 93c1a7b 7776683 Author: Guillaume J. Charmes <[email protected]>

    Date: Mon Mar 3 16:34:20 2014 -0800 Add native execution driver to docker and make it the default Merge pull request #4327 from crosbymichael/ add-libcontainer
  7. commit e83c8becdabbe193555c48c3fb4b22550ae0afd1 Author: Pieter Noordhuis <[email protected]> Date: Fri Dec 16

    12:11:34 2011 -0800 warden: Remove lxc-tools dependency The work that needs to be done to create a namespaced process is so little that we can do it ourselves. Apart from removing a dependency, this also gives more freedom in configuring cgroups and better startup performance.
  8. commit c8446d7f14635e5e2b505de16cb09bc2fefce0e8 Author: David Sabeti and Pieter Noordhuis <pair+david [email protected]>

    Date: Fri Apr 5 14:39:22 2013 -0700 Allow nesting commit 9712451911c7a0fad149f83895169a4062c47fc3 Author: David Sabeti and Pieter Noordhuis <pair+david [email protected]> Date: Fri Apr 5 15:28:03 2013 -0700 Add config for warden-cpi
  9. $ veritas help 2>&1 | grep distribution distribution - Fetch

    and print distribution of Tasks and LRPs Veritas
  10. $ cf set-env test DIEGO_BETA true $ cf set-env test

    DIEGO_RUN_BETA true Environment Variables
  11. $ cf start test requested state: started instances: 1/1 usage:

    128M x 1 instances urls: test.example.com state since cpu #0 running 2014-11-18 11:00:00 AM 0.0% Deploying a Docker Image
  12. $ cf scale test -i 5 $ veritas distribution \

    --etcdCluster=http://192.0.2.2:4001 \ --rate=1s Distribution cell_z1-0: ••••• Spawning more containers
  13. commit e79de919aeaea3e63498b338e9fba304e6dc27c0 Author: Alex Suraci <[email protected]> Date: Tue May 20

    09:36:25 2014 -0700 support for creating containers from docker images on container creation, specify image:<repo name>. the image will be pulled down from the docker registry if not present, and mounted using Docker's own graph drivers. this does not include e.g. baked-in 'run' commands from a Dockerfile: just the resulting base image.
  14. San Diego map photo used under creative commons attribution license:

    https://creativecommons.org/licenses/by/2.0/ https://www.flickr.com/photos/23465812@N00/6818213387/ No modifications were made Attribution