Saturday, August 29, 2015

Docker on Mac OS 10.10.

Well, Docker is everywhere now!! For last few weeks studying their applicability in DevOps, Micro services etc. Today wanted to make my hands dirty with some Docker samples. But its not smooth start. Just wanted to share the issues and resolution at one place.

After installing docker as per documentation on Mac (OS X 10.10) and launching the CLI first error got was “Default is not running. Please start this with docker-machine start default.” After googling around and analysing different solutions, found the issue is with Virtualbox version. (I had Viirtualbox version 5.0 already installed.). The issue is resolved with installing test Test-Build 5.0 (https://www.virtualbox.org/wiki/Testbuilds). The link for issue is  https://www.virtualbox.org/ticket/14412 

After restarting Docker, next error I got is with ca.pem file. After starting Default VM error shown is “ca.pem: no such file or directory”. After executing below two commands, docker started normally


docker-machine regenerate-certs default
docker-machine restart default

Below are the links that helped me solve the issues
http://stackoverflow.com/questions/32240742/after-installing-docker-docker-machine-env-default-fails-because-ca-pem-is-not


Wednesday, February 25, 2015

Code on Your Own device (CYOD)


In my blog post in Feb, 2011  "Work on move... or coding on mobile" I envisioned possibility of coding on a mobile device. Today I was talking to my colleague who said he uses only iPad for work no Laptop!!. I asked how do you code? He connects to server using Microsoft Remote Desktop, connects a key board to iPad and codes!!. Some time back from I got to know  from IoT team of a light weight version of eclipse that works on Raspberry PI which got 1GB RAM. Today I use a phone that got 3GB RAM!!!. Don't think its long way to have Eclipse and JRE on Mobile devices. (I guess there are some issues to install eclipse directly now but there are alternatives like Ubuntu Virtual Box on Android and Eclipse on top of it, root the device and install Linux etc).

So can we see "Code on Your Own device" movement soon!!!

Saturday, February 7, 2015

Facebook for Business - Mind Map

I tried to summarize my understanding of Facebook's applicability for Business. 



Apart from Facebook's Graph API and Ads API below are few things worth learning about


Open Graph
Open Graph lets apps tell stories on Facebook through a structured, strongly typed API.
Stories used share the things people are doing on webpage/App. Ex: “X has finished reading Y book on Google Reads”, “A bought product B on XYZ Store”. These are posted on user’s Facebook page as posts
Insights API can be used to track the stories, likes and comments on them.
Facebook exchange
Facebook Exchange helps you reach people who have expressed an interest through their online behavior so you can reach them with a similar kind of product or service.
Ex: Target user who searched for product or clicked a web site.
Uses Demand-side platforms
PMD Center
The Facebook Preferred Marketing Developer (PMD) program is a community of hundreds of best-in-class developers /companies Facebook marketing solutions.
Companies get additional support from Facebook platform representatives
Public Content Solutions (PCS)
Partnership with companies which  are experts in integrating Facebook and Instagram into their customers’ experiences connecting audiences and fans
Privileged access to data and content APIs and dedicated support resources

Direct collaboration with Facebook business development to help support and grow your business