Docker Use Cases on Raspberry Pi

153,860 views

Published on

For Raspberry Pi社群聚會 #09
http://raspberrypi-tw-bdfa45.kktix.cc/events/meetup-09

Published in: Software

Docker Use Cases on Raspberry Pi

  1. 1. Docker Use Cases on Raspberry Pi Philipz 鄭淳尹
  2. 2. Docker.Taipei 共同發起人 《Docker 從入門到實踐》翻譯發起人 碁峰《Docker入門與實戰》審閱 Acer eDC, 玉山銀行資訊處, 臺北榮民總醫院 Java/Web Developer, Image Processing, Software Engineering, Algorithmic Trading, Docker Philipz
  3. 3. Why RPi + Docker 1st credit card-sized PC HW/SW split…. Rapidly develop IoT Apps Portable WYSIWYR ARM is Rising!!!
  4. 4. GPIO in Docker Control LED Blinking
  5. 5. The Martix of Hell
  6. 6. Docker is not Virtual Machine Operating-system-level virtualization Chroot + Cgroup + github Golang Container engine Support LXC, Windows container soon
  7. 7. Docker Layers
  8. 8. Docker Layers
  9. 9. Cmd Diagram ● run ● pull, push ● exec ● commit ● rm, rmi ● build, tag ● logs, stats
  10. 10. Use Scenario IoT Device
  11. 11. Use Scenario Push Pull IoT Device
  12. 12. Use Scenario Push Pull IoT Device Commit Deploy
  13. 13. Use case ● Databox - Volume container ● Development or Runtime env - Onbuild ● Computing - GPU, GPIO ● Cross-compilers, build container ● Installation container - Cmd, GUI ● CI/CD Service compontents*** ● VM style - bad idea
  14. 14. MQTT From IBM IoT Protocol Pub/Sub, QoS Arduino, mbed Mosquitto, Xively
  15. 15. Demo
  16. 16. CI/CD by CircleCI Continuous Integration and Delivery with Docker Install OpenCV 3.0 and Python 2.7+ on Ubuntu Docker + OpenCV 3.0 + Python GUI by X Forwarding
  17. 17. Demo
  18. 18. FAQ 1. How to build base image? Scratch, Github 2. How to use Boot2Docker? Just use Linux 3. Why Windows support Docker? 4. Why IoT developer must learn Docker? Device & Cloud use the same SW process IT careers all need Docker…...
  19. 19. Thank you Time is more precious than gold.

×