From 68596f0a2a97ebfd596fdfb9452f491ab3eb0915 Mon Sep 17 00:00:00 2001 From: Jim Alateras Date: Tue, 10 Mar 2015 07:59:34 +1100 Subject: [PATCH] Add some introductory material for machine, swarm and compose --- .gitignore | 1 + README.md | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..723ef36 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea \ No newline at end of file diff --git a/README.md b/README.md index cd6a151..6932868 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ NOTE: This used to be a gist that continually expanded. It's now a github proje * [Links](https://github.com/wsargent/docker-cheat-sheet#links) * [Volumes](https://github.com/wsargent/docker-cheat-sheet#volumes) * [Exposing Ports](https://github.com/wsargent/docker-cheat-sheet#exposing-ports) +* [Machine, Swarm and Compose](https://github.com/wsargent/docker-cheat-sheet#machine-swarm-compose) * [Best Practices](https://github.com/wsargent/docker-cheat-sheet#best-practices) * [Tips](https://github.com/wsargent/docker-cheat-sheet#tips) * [Tools](https://github.com/wsargent/docker-cheat-sheet#tools) @@ -318,6 +319,19 @@ If you forget what you mapped the port to on the host container, use `docker por docker port CONTAINER $CONTAINERPORT ``` +## Machines, Swarm and Compose +In early 2015 Docker developed and open sourced a number of components that use the Docker API to provide some higher level services. + +* [Machine](https://docs.docker.com/machine/), is a tool for easily creatinf a docker host either locally or on cloud provider (i.e. AWS, Digital Ocean etc). +* [Swarm](https://docs.docker.com/swarm/), is clustering for docker. It provides a way to group a number of docker hosts into a single virtual entity and provides +mechanisms to schedule containers across these hosts. +* [Compose](https://docs.docker.com/compose/), provides a tool for describing a multi-container application within a single file. + +The [Demo of the Machine + Swarm + Compose integration](https://www.youtube.com/watch?v=M4PFY6RZQHQ) video provides a good introduction to the +various components and how they work together. + + + ## Tips Sources: