Simplifying Real Time Data
Analytics with Docker, IoT &
Cloud
Ajeet Singh
Raina
@ajeetsraina
Principal Development Engineer at DellEMC
1st half of my career was in CGI & VMware
2nd half of my career has been in System
Integration Testing
Docker Captain (since 2016)
Docker Bangalore Meetup Organizer ( 8500+
Registered Users)
DockerLabs Incubator ~ 1100+ Slack Members
$whoami
Ajeet Singh
Raina
@ajeetsraina
Tip of the
Captains Hat
Award
$curl www.collabnix.com
How many of you run Docker on IoT Infra?
Human Life
“IoT is changing & transforming
everything from Life to Business”
Human Life Business
“IoT is changing & transforming
everything from Life to Business”
Why should I really care about IoT?
World
Population
Connected
Devices
Connected
Devices Per
Person
500 million
6.8 billion 7.2 billion 7.6 billion6.3 billion
12.5 billion 25 billion 50 billion
2003 2010 2015 2020
0.08 1.84 3.47 6.58
The Rise of Wearables Electronics
Popular IoT Boards
BananaPiRaspberry Pi 3
Arduino
OrangePi
Nvidia Jetson Nano
Smart
Telescope
Kiwibot
A Food Delivery Robot @Dockercon 2019
- Autonomous Robot for
Food Delivery
- Runs on a Jetson TX2 and
optimized with TensorRT
- Object Detection
- Uses Python + TensorFlow
Jetson Software Stack
Object Detection
Let’s talk about Docker
What is Docker?
…Refers to several things in 2019
Docker as a “Company”
Docker as a “Product”
Docker as a “Platform”
Docker as a “CLI Tool”
Docker as a “Computer Program”
LAMP
Once upon a time …
Now much more distributed & complex
An Effort to solve the problem Complexity
Internodal Container
Docker by the Numbers..
44.1M
Unique
Docker Engines
1.7M
Monthly
Active Desktop
Developers
Container
Image Pulls
105.2B
Apps
5.6M
Docker Inc. Product offerings
Docker support on Raspberry Pi 4
- First Docker Engine support since Docker 1.12.1
- First ARM Debian Package officially available from Docker
- A single-liner Installation
$curl –sSL https://get.docker.com / | sh
- Standard Raspbian OS
Docker Swarm
Running on
Raspberry Pi
Stack
Docker support on Jetson Nano
- $99 AI Computer
- CPU: 64-bit Quad core ARM A57 # 1.43 Ghz
- GPU: 128 Core NVIDIA Maxwell @ 921MHz
- 4 GB Memory
- 5W | 10W
Docker 18.09.2 comes by default with Jetson OS
Why IoT Need Docker?
 Build, Ship & Run IoT Software
 Minimal Hardware Resource
 Geographical Distribution
 Limited or Sporadic Network Access
 Widely varying Device Environments
It’s Demo Time
Turn Your Raspberry Pi into CCTV Camera
Let’s talk about Problem Statement
A DVR Security System
- A CCTV digital video recorder (or “DVR”
for short) is essentially a computer that
saves security video images to a hard
drive.
- A kind of surveillance camera system
A DVR Security System
~ Data last for 2-3 Weeks
~ Real-time DVR system cost high
~ Lack of Video & Text Analytics over
Cloud seamlessly
~ Lack of Low cost surveillance camera
Introducing
Object Detection & Analytics
Apache Kafka
Raspberry Pi
AWS Lambda
AWS Rekognition
System
Docker
Swarm
Docker
How Pico works?
Object Detection & Analytics in 3 easy steps
Let’s talk about Apache Kafka
Apache Kafka is a community distributed event streaming
platform capable of handling trillions of events a day.
Architecture
of
Apache
Kafka
Running Apache
Kafka under
Docker Swarm
KAFKA_ADVERTISED_LISTENERS:
INTERNAL://kafka-2:9192,
EXTERNAL://35.189.130.4:9093
Demonstrating Text Analytics
Demonstrating Object Detection
Object
Detection
using Pico
Object
Detection
using Pico
How can I contribute?
The Pico Project - https://github.com/collabnix/pico
Turn Your Raspberry Pi into CCTV Camera - http://collabnix.com/turn-your-raspberry-pi-
into-low-cost-cctv-surveillance-camerawith-night-vision-in-5-minutes-using-docker/
Running Apache Kafka on AWS Platform - http://collabnix.com/implementing-apache-
kafka-on-docker-swarm-running-on-aws-platform-in-5-minutes/
DockerLabs – https://dockerlabs.collabnix.com
Thank You!

Simplifying Real Time Data Analytics with Docker, IoT & Cloud