Merge pull request #41 from mavenugo/master

Updated README for a corner case where docker fails to start agent
Updated README

Signed-off-by: Brent Salisbury <brent@socketplane.io>
Signed-off-by: Madhu Venugopal <madhu@socketplane.io>
Merge pull request #43 from mavenugo/nerdalert-readme

Updated README
Parse docker run flags to allow non-detached containers

Added a basic check for the `-d` flag.
If it's present. Create container, add network, echo container ID
If not, add it, create container, add network and attach
Fixes #44

Signed-off-by: Dave Tucker <dave@socketplane.io>
Merge pull request #46 from dave-tucker/bug/44

Parse docker run flags to allow non-detached containers
Added some information about setting DOCKERHUB_USER, DOCKERHUB_PASS and DOCKERHUB_MAIL environment variables for unattended installs.

Signed-off-by: John Willis <botchagalupe@Johns-MacBook-Air-3.local>
Fixes #48 using appropriate cleanup commands

Signed-off-by: Madhu Venugopal <madhu@socketplane.io>