Upload
philip-zheng
View
746
Download
0
Embed Size (px)
Citation preview
Use MQTT in Dockeron Raspberry Pi
Philipz 鄭淳尹
Docker.Taipei 共同發起人
《Docker 從入門到實踐》翻譯發起人
碁峰《Docker入門與實戰》審閱
Acer eDC, 玉山銀行資訊處, 臺北榮民總醫院Java/Web Developer, Image Processing, Software Engineering, Algorithmic Trading, Docker
Philipz
Why RPi + Docker1st credit card-sized PCHW/SW split….IoT PrototypePortable WYSIWYRARM is Rising!!!
GPIO in Docker
Control LED Blinking
The Martix of Hell
Docker is not Virtual MachineOperating-system-level virtualizationChroot + Cgroup + githubGolangContainer engineSupport LXC, Windows container soon
Docker Layers
Cmd Diagram● run● pull, push● exec● commit● rm, rmi● build, tag● logs, stats
Use ScenarioPush
Pull
Commit
Deploy
IoT Device
Use case● Databox - Volume container● Development or Runtime env - Onbuild● Computing - GPU, GPIO● Cross-compilers, build container● Installation container - Cmd, GUI● Service compontents***● VM style - bad idea
MQTTFrom IBMIoT ProtocolPub/Sub, QoSArduino, mbedMosquitto, Xively
FAQ1. How to build base image? Scratch, Github2. Run CentOS on RPi? Docker Hub, Github3. How to use Boot2Docker? Just use Linux4. Why Windows support Docker?5. Why IoT developer must learn Docker?
Device & Cloud use the same SW process IT careers all need Docker…...
Thank you
Time is more precious than gold.