docker use cases on raspberry pi

19
Docker Use Cases on Raspberry Pi Philipz 鄭淳尹

Upload: philip-zheng

Post on 12-Aug-2015

6.908 views

Category:

Software


1 download

TRANSCRIPT

Docker Use Cases on 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….Rapidly develop IoT AppsPortable 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

Docker Layers

Cmd Diagram● run● pull, push● exec● commit● rm, rmi● build, tag● logs, stats

Use Scenario

IoT Device

Use ScenarioPush

Pull

IoT Device

Use ScenarioPush

Pull

IoT Device

Commit

Deploy

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

Demo

Demo

FAQ1. How to build base image? Scratch, Github2. How to use Boot2Docker? Just use Linux3. Why Windows support Docker?4. 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.