Skip to content

Commit

Permalink
Add: Docker Swarm and Docker Machine
Browse files Browse the repository at this point in the history
  • Loading branch information
William-Yeh committed Mar 4, 2015
1 parent efa71e0 commit 30c6c11
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ Use the following public box names (all available from [Vagrant Cloud](https://v

- [Docker Compose](https://github.com/docker/compose) (was: Fig): Fast, isolated development environments using Docker.

- [Docker Swarm](https://github.com/docker/swarm): a Docker-native clustering system.

- [Docker Machine](https://github.com/docker/machine): Machine management for a container-centric world.

- [Pipework](https://github.com/jpetazzo/pipework)

- [docker-gen](https://github.com/jwilder/docker-gen)
Expand Down
14 changes: 13 additions & 1 deletion debian-jessie/vagrant-provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export LANGUAGE=en_US.UTF-8


readonly COMPOSE_VERSION=1.1.0
readonly MACHINE_VERSION=0.1.0

readonly DOCKERGEN_VERSION=0.3.7
readonly DOCKERGEN_TARBALL=docker-gen-linux-amd64-$DOCKERGEN_VERSION.tar.gz
Expand Down Expand Up @@ -70,11 +71,18 @@ EOF_REGISTRY

# install Docker Compose (was: Fig)
# @see http://docs.docker.com/compose/install/
curl -o docker-compose -L https://github.com/docker/fig/releases/download/$COMPOSE_VERSION/docker-compose-`uname -s`-`uname -m`
curl -o docker-compose -L https://github.com/docker/compose/releases/download/$COMPOSE_VERSION/docker-compose-`uname -s`-`uname -m`
chmod a+x docker-compose
sudo mv docker-compose /usr/local/bin


# install Docker Machine
# @see https://docs.docker.com/machine/
curl -o docker-machine -L https://github.com/docker/machine/releases/download/v$MACHINE_VERSION/docker-machine_linux-amd64
chmod a+x docker-machine
sudo mv docker-machine /usr/local/bin


# install Pipework
# @see https://github.com/jpetazzo/pipework
curl -o pipework -L https://raw.githubusercontent.com/jpetazzo/pipework/master/pipework
Expand Down Expand Up @@ -102,6 +110,10 @@ sudo mv dockerize /usr/local/bin
rm *.tar.gz


# install swarm
sudo docker pull swarm


# install weave
# @see https://github.com/zettio/weave
curl -o weave -L https://github.com/zettio/weave/releases/download/latest_release/weave
Expand Down
14 changes: 13 additions & 1 deletion ubuntu-trusty/vagrant-provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export LANGUAGE=en_US.UTF-8


readonly COMPOSE_VERSION=1.1.0
readonly MACHINE_VERSION=0.1.0

readonly DOCKERGEN_VERSION=0.3.7
readonly DOCKERGEN_TARBALL=docker-gen-linux-amd64-$DOCKERGEN_VERSION.tar.gz
Expand Down Expand Up @@ -74,11 +75,18 @@ EOF_REGISTRY

# install Docker Compose (was: Fig)
# @see http://docs.docker.com/compose/install/
curl -o docker-compose -L https://github.com/docker/fig/releases/download/$COMPOSE_VERSION/docker-compose-`uname -s`-`uname -m`
curl -o docker-compose -L https://github.com/docker/compose/releases/download/$COMPOSE_VERSION/docker-compose-`uname -s`-`uname -m`
chmod a+x docker-compose
sudo mv docker-compose /usr/local/bin


# install Docker Machine
# @see https://docs.docker.com/machine/
curl -o docker-machine -L https://github.com/docker/machine/releases/download/v$MACHINE_VERSION/docker-machine_linux-amd64
chmod a+x docker-machine
sudo mv docker-machine /usr/local/bin


# install Pipework
# @see https://github.com/jpetazzo/pipework
curl -o pipework -L https://raw.githubusercontent.com/jpetazzo/pipework/master/pipework
Expand Down Expand Up @@ -106,6 +114,10 @@ sudo mv dockerize /usr/local/bin
rm *.tar.gz


# install swarm
sudo docker pull swarm


# install weave
# @see https://github.com/zettio/weave
curl -o weave -L https://github.com/zettio/weave/releases/download/latest_release/weave
Expand Down

0 comments on commit 30c6c11

Please sign in to comment.