Skip to content

Instantly share code, notes, and snippets.

View binoymichael's full-sized avatar

Binoy Michael binoymichael

View GitHub Profile
#!/usr/bin/env LC_ALL=en_US.UTF-8 ruby
# <bitbar.title>Pomodor Tracker</bitbar.title>
# <bitbar.version>v0.1</bitbar.version>
# <bitbar.author>Binoy</bitbar.author>
# <bitbar.author.github>binoymichael</bitbar.author.github>
# <bitbar.desc>A simple pomodor tracker with record history.</bitbar.desc>
# <bitbar.image></bitbar.image>
# <bitbar.dependencies>ruby</bitbar.dependencies>
@binoymichael
binoymichael / docker-cloud-swarm.md
Last active April 29, 2017 03:48
docker-cloud-swarm

Problem: Normal node cluster based deployments are no longer supported in cloud.docker.com. New users get Swarm mode by default.

Solution: Deploy a swarm of nodes, and use your image to export it as a service on the nodes.

Prerequisite - You have already push your image as a public repository on to Docker hub using the docker.sh file present here - https://github.com/paulnguyen/cmpe281/tree/master/docker

DISCLAIMER: When running in Swarm mode, docker cloud will create Instances, ELBs, Network Interfaces, Security Groups, VPC etc in your AWS account. Delete them after use or you run the risk of overshooting the Free Tier Usage!

Step 1: Link your cloud.docker to AWS