Rkt Container Engine
Click here to load reader
-
Upload
thuc-le-dong -
Category
Software
-
view
44 -
download
0
Transcript of Rkt Container Engine
![Page 1: Rkt Container Engine](https://reader038.fdocuments.in/reader038/viewer/2022100800/58ecf7991a28ab7e718b45ff/html5/thumbnails/1.jpg)
Rocket It
![Page 2: Rkt Container Engine](https://reader038.fdocuments.in/reader038/viewer/2022100800/58ecf7991a28ab7e718b45ff/html5/thumbnails/2.jpg)
Agenda
○ Linux Container○ App container specification○ Rkt○ Demo with Golang app
![Page 3: Rkt Container Engine](https://reader038.fdocuments.in/reader038/viewer/2022100800/58ecf7991a28ab7e718b45ff/html5/thumbnails/3.jpg)
Le Dong Thuc - 1990- Part-time SSS
- Hardware Dev
- Golang - 2015
- Swimming
- Running
- Foods
![Page 4: Rkt Container Engine](https://reader038.fdocuments.in/reader038/viewer/2022100800/58ecf7991a28ab7e718b45ff/html5/thumbnails/4.jpg)
Linux Container
![Page 5: Rkt Container Engine](https://reader038.fdocuments.in/reader038/viewer/2022100800/58ecf7991a28ab7e718b45ff/html5/thumbnails/5.jpg)
History
1979 - Chroot2000 - FreeBSD Jails2001 - Linux VServer2004 - Solaris Containers2005 - OpenVZ2006 - Process Containers (Google)
![Page 6: Rkt Container Engine](https://reader038.fdocuments.in/reader038/viewer/2022100800/58ecf7991a28ab7e718b45ff/html5/thumbnails/6.jpg)
2008 - LXC2011 - Warden (CloudFoundry)2013 - LMCTFY (Google)2013 - Docker2014 - Oh yeah… Rocket it
History
![Page 7: Rkt Container Engine](https://reader038.fdocuments.in/reader038/viewer/2022100800/58ecf7991a28ab7e718b45ff/html5/thumbnails/7.jpg)
App container specification (APPC)
![Page 8: Rkt Container Engine](https://reader038.fdocuments.in/reader038/viewer/2022100800/58ecf7991a28ab7e718b45ff/html5/thumbnails/8.jpg)
“APPC is an open specification that defines several aspects of how to
run applications in containers
![Page 9: Rkt Container Engine](https://reader038.fdocuments.in/reader038/viewer/2022100800/58ecf7991a28ab7e718b45ff/html5/thumbnails/9.jpg)
APPC defines
○ Image format○ Runtime environment ○ Discovery protocol
![Page 10: Rkt Container Engine](https://reader038.fdocuments.in/reader038/viewer/2022100800/58ecf7991a28ab7e718b45ff/html5/thumbnails/10.jpg)
Image format
○ Called ACI (application container image)○ Contains:
□ Files need to run application□ Image Manifest
○ Can created by acbuild, actool, goaci, docker2aci
![Page 11: Rkt Container Engine](https://reader038.fdocuments.in/reader038/viewer/2022100800/58ecf7991a28ab7e718b45ff/html5/thumbnails/11.jpg)
Pod
○ Grouping of one or more app images (ACIs), with some additional metadata optionally applied to the pod
○ The basic unit of execution
![Page 12: Rkt Container Engine](https://reader038.fdocuments.in/reader038/viewer/2022100800/58ecf7991a28ab7e718b45ff/html5/thumbnails/12.jpg)
Pod
![Page 13: Rkt Container Engine](https://reader038.fdocuments.in/reader038/viewer/2022100800/58ecf7991a28ab7e718b45ff/html5/thumbnails/13.jpg)
Where’s rkt?
![Page 14: Rkt Container Engine](https://reader038.fdocuments.in/reader038/viewer/2022100800/58ecf7991a28ab7e718b45ff/html5/thumbnails/14.jpg)
○ Rkt is container runtime○ Portable image format○ Works with init systems (systemd, upstart)○ Rkt runs containers as un-privileged users
Rkt
![Page 15: Rkt Container Engine](https://reader038.fdocuments.in/reader038/viewer/2022100800/58ecf7991a28ab7e718b45ff/html5/thumbnails/15.jpg)
Install Rkt(demo)
https://github.com/coreos/rkt/releases
![Page 16: Rkt Container Engine](https://reader038.fdocuments.in/reader038/viewer/2022100800/58ecf7991a28ab7e718b45ff/html5/thumbnails/16.jpg)
Simple Image(demo)
https://github.com/appc/acbuild/releaseshttps://coreos.com/rkt/docs/latest/distributions.html
https://github.com/coreos/rkt/releases