Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Very Early Review - Rocket 
(App Container runtime) 
Dec 3, 2014 
by @subicura (Chungsub Kim)
from 2013/06 
Alex Polvi 
Brandon Philips 
Michael Marineau
docker 
CoreOS use docker 
docker contributor 
etcd 
A highly-available key value store 
standalone 
widespread adoption a...
OpenSource 
CoreOS ❤️ OpenSource 
many open source = about 100 github projects
quay.io 
Secure hosting for private Docker repositories
client 
+ …
new container runtime
composability 
Unix philosophy 
independent and composable 
clean integration points 
building images 
running images 
upl...
security 
isolation 
crypto 
image auditing 
application identity 
Metadata Server 
unique identity 
signing 
central daem...
standard 
standard specification 
proposing a standard 
app-container 
tar/gzip/bzip2/xz/… 
docker spec 
App Container Ima...
discovery 
simple 
golang’s vanity URL convention 
without running their own registry 
alternative protocol 
such BitTorre...
DEMO
install rocket 
os ubuntu 14.04.1 
id root 
library sudo apt-get install libseccomp-dev 
$ curl -L https://github.com/core...
create ACI 
$ mkdir sample 
$ cd sample 
$ mkdir -p rootfs/bin 
$ cd rootfs/bin 
$ curl -L https://github.com/subicura/sam...
manifest.json 
{ 
"acVersion": "1.0.0", 
"acKind": "AppManifest", 
"name": "subicura.com/sample-1.0.0", 
"os": "linux", 
"...
fly rocket! 
$ mv sample.aci sample.tar # no type returned from DetectFileType issue 
$ gzip sample.tar -c > sample.aci # ...
docker migration??? 
$ docker pull coreos/etcd 
$ mkdir -p etcd/rootfs 
$ cd etcd 
$ docker run --name=etcd coreos/etcd 
$...
manifest.json 
{ 
"acVersion": "1.0.0", 
"acKind": "AppManifest", 
"name": "coreos.com/etcd", 
"os": "linux", 
"arch": "am...
CONTAINER WARS
Github Star
Docker’s response
News
use Docker 
use ACI Spec? 
Rocket & Docker
Link 
• https://github.com/coreos/rocket 
• https://coreos.com/blog/rocket/ 
• http://www.youtube.com/watch?v=U3UmFQbUsN8 ...
Rocket is rocket? 
THANK YOU
Very Early Review - Rocket(CoreOS)
Upcoming SlideShare
Loading in …5
×

Very Early Review - Rocket(CoreOS)

3,592 views

Published on

CoreOS에서 발표한 Rocket에 대한 간단 리뷰입니다 :)
앞으로 docker와의 경쟁이 기대됩니다!

Published in: Technology
  • Be the first to comment

Very Early Review - Rocket(CoreOS)

  1. 1. Very Early Review - Rocket (App Container runtime) Dec 3, 2014 by @subicura (Chungsub Kim)
  2. 2. from 2013/06 Alex Polvi Brandon Philips Michael Marineau
  3. 3. docker CoreOS use docker docker contributor etcd A highly-available key value store standalone widespread adoption and use outside CoreOS itself fleetd A Distributed init System
  4. 4. OpenSource CoreOS ❤️ OpenSource many open source = about 100 github projects
  5. 5. quay.io Secure hosting for private Docker repositories
  6. 6. client + …
  7. 7. new container runtime
  8. 8. composability Unix philosophy independent and composable clean integration points building images running images uploading downloading overlay networking all compiled into one monolithic binary running primarily as root on your server central daemon App Container Runtime rkt - fetch/run/… actool - build/validation/… docker container -> docker platform
  9. 9. security isolation crypto image auditing application identity Metadata Server unique identity signing central daemon docker process model - where everything runs through a central daemon - is “fundamentally flawed”. so rewrite!
  10. 10. standard standard specification proposing a standard app-container tar/gzip/bzip2/xz/… docker spec App Container Image The standard container manifesto was removed in docker.
  11. 11. discovery simple golang’s vanity URL convention without running their own registry alternative protocol such BitTorrent simple docker hub docker registry App Container Discovery simple & support alternative protocol
  12. 12. DEMO
  13. 13. install rocket os ubuntu 14.04.1 id root library sudo apt-get install libseccomp-dev $ curl -L https://github.com/coreos/rocket/releases/download/v0.1.0/rocket-v0.1.0. tar.gz -o rocket-v0.1.0.tar.gz $ tar xzvf rocket-v0.1.0.tar.gz $ cd rocket-v0.1.0 $ mv rkt /usr/local/bin $ mv actool /usr/local/bin $ rkt help $ actool help
  14. 14. create ACI $ mkdir sample $ cd sample $ mkdir -p rootfs/bin $ cd rootfs/bin $ curl -L https://github.com/subicura/sample-go-server/releases/download/ 1.0.0/sample-go-server -o sample $ chmod +x sample $ cd ../.. $ vi manifest.json $ actool validate manifest.json #manifest.json: valid AppManifest $ actool build --app-manifest manifest.json rootfs sample.aci $ actool validate sample.aci #sample.aci: valid app container image
  15. 15. manifest.json { "acVersion": "1.0.0", "acKind": "AppManifest", "name": "subicura.com/sample-1.0.0", "os": "linux", "arch": "amd64", "exec": [ "/bin/sample" ], "ports": [ { "name": "www", "protocol": "tcp", "port": 5000 } ], "annotations": { "authors": "Chungsub Kim <subicura@subicura.com>" } }
  16. 16. fly rocket! $ mv sample.aci sample.tar # no type returned from DetectFileType issue $ gzip sample.tar -c > sample.aci # use gzip $ rkt run sample.aci $ curl http://localhost:5000 or $ rkt run https://github.com/subicura/sample-go-server/releases/download/ 1.0.0/sample.aci
  17. 17. docker migration??? $ docker pull coreos/etcd $ mkdir -p etcd/rootfs $ cd etcd $ docker run --name=etcd coreos/etcd $ docker export etcd | sudo tar -x -C rootfs -f - $ docker kill etcd $ docker rm etcd $ vi manifest.json $ actool build --app-manifest manifest.json rootfs etcd.aci $ mv etcd.aci etcd.tar # no type returned from DetectFileType issue $ gzip etcd.tar -c > etcd.aci # use gzip $ rkt run etcd.aci $ curl http://localhost:4001/version
  18. 18. manifest.json { "acVersion": "1.0.0", "acKind": "AppManifest", "name": "coreos.com/etcd", "os": "linux", "arch": "amd64", "exec": [ "/etcd -name node0" ], "ports": [ { "name": "etcdclient", "protocol": "tcp", "port": 4001 }, { "name": "etcdclieetcdraftnt", "protocol": "tcp", "port": 7001 } ], "annotations": { "authors": "Chungsub Kim <subicura@subicura.com>" } }
  19. 19. CONTAINER WARS
  20. 20. Github Star
  21. 21. Docker’s response
  22. 22. News
  23. 23. use Docker use ACI Spec? Rocket & Docker
  24. 24. Link • https://github.com/coreos/rocket • https://coreos.com/blog/rocket/ • http://www.youtube.com/watch?v=U3UmFQbUsN8 • http://blog.docker.com/2014/12/initial-thoughts-on-the-rocket-announcement/ • https://github.com/subicura/sample-go-server
  25. 25. Rocket is rocket? THANK YOU

×