KEMBAR78
OSTree: OSイメージとパッケージシステムの間にGitのアプローチを | PDF
© 2014 Nippon Telegraph and Telephone Corporation
OSTree
Project Atomic✄ ✁✂☎✆✝✞OSTree✟
✠✡☛☞✌✍✎✏✑✒✓✔✕✖✗ 
© 2014 Nippon Telegraph and Telephone Corporation
✆ ✁✂✄☎✝✞✟✠✡☛☞✌✍✎✏✑
© 2014 Nippon Telegraph and Telephone Corporation
☎ ✁✂✄✆✝✞✟✠✡☛☞✌✄✍✎✏✄✑✂✡✒
© 2014 Nippon Telegraph and Telephone Corporation
© 2014 Nippon Telegraph and Telephone Corporation
OSTree
Git✄ ✁✂☎✆✝✞✟✠Tree)✡☛☞✌✍
© 2014 Nippon Telegraph and Telephone Corporation
1
© 2014 Nippon Telegraph and Telephone Corporation
Linux
© 2014 Nippon Telegraph and Telephone Corporation
chroot
© 2014 Nippon Telegraph and Telephone Corporation
Git✄ ✁✂☎✆✝✞✟
✠Docker✄✡☛☞✌✍✎✏✑✒✓✔
© 2014 Nippon Telegraph and Telephone Corporation
!"✂ ✁✄☎✆✝✞✟✠✡☛ ☞✌✍"
!"#$%&'"#()'**"
"
! ✢✎✏✑✒✓✔✠✁☛✝✕✖✗"
!"+,)'**"-%#&."&.&)/0,"#()'**"
"
!"✒✓✔✠✁☛✝✘✙"
!"1,"#()'**"
2++)""%*3""4+#*""+,)'**""5'+6"
'++)""'7."",(,"")#5"
"
!"✢✚✛✜✣☛"
!"+,)'**"6+##&)"#()'**"//2'-.64"
#-,)*'"
!"8*0✝✘✙"
!"+,)'**"'*0,"
#-,)*'"
"
!"✤✥✦✧★✩✍✪✫✬✭✝✮✯"
!"+,)'**"1,"#-,)*'"
%99:;;"9"9""""""9"<"
%99:;;"9"9""""""9"<2++)"
%99:;;"9"9""""""9"<%*3"
%99:;;"9"9""""""9"<4+#*"
%99:;;"9"9""""""9"<+,)'**"
%99:;;"9"9""""""9"<5'+6"
%99:99"9"9""""""9"<'++)"
%99:;;"9"9""""""9"<'7."
%99:;;"9"9""""""9"<,(,"
%9=:;;"9"9""""""9"<)#5"
"
© 2014 Nippon Telegraph and Telephone Corporation
!"✂ ✁✄☎✆✝✞✟✠"
!"*64+">)*,)>"?"#()'**<0++2-'"
"
!"@✡☛☞✌✍✎✏"
!"+,)'**"6+##&)"#()'**"//2'-.64"
#-,)*'"
"
!"✑✒✓☞✔✕"
!"+,)'**"%&00""#-,)*'"
A""""<0++2-'"
"
!"✌✍✎✏✖✗☞✔✕"
!"+,)'**"1+B"#-,)*'"
6+##&)"-*=;C6C%DEDFEG;-EF:=:=@G6%DG9=%%@;29:-G66DC;--262E
D%0GF=2%;%=;29"
H-)*I""@9=E/9;/@D"9CI9CI;9"J9999"
"
""""A%%"0++2-'"
"
6+##&)"CD-FD*D:0;CF%*6FF%06E%GD@69G2ED9=D-E6FF;-;%*CDGG2G
@09DE:2F6-6FF2"
H-)*I""@9=E/9;/@D"9CI9FI9="J9999"
"
""""K.&)&-1&L*"
"
!"1,✘✙✂ ✁✄✚✛✜✞✢✠"
!"+,)'**"1,"#-,)*'"
%99:;;"9"9""""""9"<"
/99FEE"9"9"""""";"<0++2-'"
%99:;;"9"9""""""9"<2++)"
%99:;;"9"9""""""9"<%*3"
%99:;;"9"9""""""9"<4+#*"
%99:;;"9"9""""""9"<+,)'**"
%99:;;"9"9""""""9"<5'+6"
%99:99"9"9""""""9"<'++)"
%99:;;"9"9""""""9"<'7."
%99:;;"9"9""""""9"<,(,"
%9=:;;"9"9""""""9"<)#5"
© 2014 Nippon Telegraph and Telephone Corporation
Git✄ ✁✂☎✆✝✞✟
✠Docker✄✡☛☞✌✍✎✏✑✒✓✔
© 2014 Nippon Telegraph and Telephone Corporation
/home /var /usr /bin /sbin /lib /lib64
/home /var /usr /bin /sbin /lib /lib64
+,)'**"%*51+("#-,)*'"
+,)'**"-%#&.",M&)64"NHOPQRSTOUVWKH?
✞ ✁✂
✠✄ ✁✂
✟☎✆✝✡chroot☛☞✄✌✍✎✏✑✒
✓deploy✔✕✖✗✘✙✚✛✜✢✣✤✥✦✧★✩/ostree/deploy✪✫✬✗✘ID✩✭✮✘✯
© 2014 Nippon Telegraph and Telephone Corporation
© 2014 Nippon Telegraph and Telephone Corporation
/home /var /usr /bin /sbin /lib /lib64
/home /var /usr /bin /sbin /lib /lib64
+,)'**"-%#&.",M&)64"NHOPQRSTOUVWKH?
✞ ✁✂
✠✄ ✁✂
© 2014 Nippon Telegraph and Telephone Corporation
© 2014 Nippon Telegraph and Telephone Corporation
© 2014 Nippon Telegraph and Telephone Corporation
•! /ostree ✄ ✁✂☎✁✆✝
•! deployment✞/ostree/deploy/<osname>
•! chroot✟✠✁✆✝✡☛inode☞✌✍
!"!"#$%#&##
'(")*++',+-!(.'-*(/+0)$1)(2%0$0(3)*(!!+*',+-!(.'14056789898:,466+,457;;;7695<6=6>977+:7741>715=9?69:>=1?+6>;6,?:@?'#
@FE;;EF="2&."""@FE;;EF@"4+#*"""@FE;;EFF"#.)"""""@FE;;EFC"'++)"""GDGCD;D",(,""""""@FG;FG=D"3-'"
"""""F;@"2++)""@FE;;EFD"1&2""""@FE;;EF:"+5)""""""""""F;D"'7."""=FG=GC=C",(,'++)"
=FG=GC=G"%*3"""@FE;;EFE"1&2FE""@FE;;EFG"+,)'**""@FE;;E:9",2&.""@FE;;E:@")#5"
"""DG9EG"*)6"""@FE;;EF;"#*%&-""@FE;;E:D"5'+6""""@FE;;E:=",'3"""@FE;;E:E"7,'"
"
!"!"#$%#'#
@FE;;EF="2&."""@FE;;EF@"4+#*"""@FE;;EFF"#.)"""""@FE;;EFC"'++)"""""""""=",(,"""""""GDGG:E9"3-'"
"""""""@"2++)""@FE;;EFD"1&2""""@FE;;EF:"+5)"""""""""FD=9"'7.""""""""=@G",(,'++)"
"""""""D"%*3"""@FE;;EFE"1&2FE""@FE;;EFG"+,)'**""@FE;;E:9",2&.""@FE;;E:@")#5"
"""DG9EG"*)6"""@FE;;EF;"#*%&-"""""""""="5'+6""""@FE;;E:=",'3"""@FE;;E:E"7,'
© 2014 Nippon Telegraph and Telephone Corporation
rpm-ostree
•! ostree✄
–!rpm ✞ ✁✂☎✆
–!https://github.com/cgwalters/rpm-ostree
•! JSON rpm
rpm-
ostree treecompose
•! upgrade ✄
© 2014 Nippon Telegraph and Telephone Corporation
!"✡ ✁✂✄☎✆✝✞✟✠☛"
!"#$%&'",'3"
!"6%",'3"
"
! ☎✢☞✝✞✌✍✎ Z✏✑✒✓✔✕✖☛✗✘✙-'64&3*/L@✚✠☛["
!"+,)'**"//'*5+b<'++)<,'3<'*5+"//#+%*"-'643*/L@"&.&)"
"
!"✛✜☞✣✆✝✤✚✥✦✧☛"
!"1,"'*5+"
6+.0&B""+2X*6),""'*0,"
'*#+)*/6-64*"")#5"
"
!"'*5+✟★✩✪✦✫✬✭✝"
,)'**"6+##&)"#()'**"//'*5+b<'++)<)*,)<'*5+"//2'-.64".*M#-,)*'"
HTTP✮✯✰✱✲✳✴✵✶✯✷✲✳
✸✹✺✻✼✽✷✾✿❀❁✲❂❃pull
✮❄✼
© 2014 Nippon Telegraph and Telephone Corporation
© 2014 Nippon Telegraph and Telephone Corporation
v.s. OS
•! VM
•!
© 2014 Nippon Telegraph and Telephone Corporation
v.s. Google ChromeOS autoupdate
•! CoreOS✄ ✁✂☎✆✝✞✟✠✡☛
•! ☞✌✍✎✏✑✒✟✓✔✕✖☛✗✘✙✂✚✛✜✢✣✤✥✦✧
•! ☞✌✍✎✏✑✒✢★✩✪☛✂✚✫✬✭✮✏✯✍✰✂✱☎✄✲✳☛
•! ✴✎✯✵✶✠✛✜✢✷✡✸2✹✺✻✼
•! ✽✾✿✚❀❁✌✮❂❃✵❀1❄❅✂❆❇❈✌❉
•! OSTree✂✝✢❊❋✙★●❍
© 2014 Nippon Telegraph and Telephone Corporation
v.s. Chef
•!
•! Chef
•!
–!✡   ✁
–!     ✁
© 2014 Nippon Telegraph and Telephone Corporation
v.s. Docker
•!
•! Docker
OSTree: OSイメージとパッケージシステムの間にGitのアプローチを

OSTree: OSイメージとパッケージシステムの間にGitのアプローチを

  • 3.
    © 2014 NipponTelegraph and Telephone Corporation OSTree Project Atomic✄ ✁✂☎✆✝✞OSTree✟ ✠✡☛☞✌✍✎✏✑✒✓✔✕✖✗ 
  • 5.
    © 2014 NipponTelegraph and Telephone Corporation ✆ ✁✂✄☎✝✞✟✠✡☛☞✌✍✎✏✑
  • 7.
    © 2014 NipponTelegraph and Telephone Corporation ☎ ✁✂✄✆✝✞✟✠✡☛☞✌✄✍✎✏✄✑✂✡✒
  • 9.
    © 2014 NipponTelegraph and Telephone Corporation
  • 10.
    © 2014 NipponTelegraph and Telephone Corporation OSTree Git✄ ✁✂☎✆✝✞✟✠Tree)✡☛☞✌✍
  • 11.
    © 2014 NipponTelegraph and Telephone Corporation 1
  • 12.
    © 2014 NipponTelegraph and Telephone Corporation Linux
  • 13.
    © 2014 NipponTelegraph and Telephone Corporation chroot
  • 15.
    © 2014 NipponTelegraph and Telephone Corporation Git✄ ✁✂☎✆✝✞✟ ✠Docker✄✡☛☞✌✍✎✏✑✒✓✔
  • 16.
    © 2014 NipponTelegraph and Telephone Corporation !"✂ ✁✄☎✆✝✞✟✠✡☛ ☞✌✍" !"#$%&'"#()'**" " ! ✢✎✏✑✒✓✔✠✁☛✝✕✖✗" !"+,)'**"-%#&."&.&)/0,"#()'**" " !"✒✓✔✠✁☛✝✘✙" !"1,"#()'**" 2++)""%*3""4+#*""+,)'**""5'+6" '++)""'7."",(,"")#5" " !"✢✚✛✜✣☛" !"+,)'**"6+##&)"#()'**"//2'-.64" #-,)*'" !"8*0✝✘✙" !"+,)'**"'*0," #-,)*'" " !"✤✥✦✧★✩✍✪✫✬✭✝✮✯" !"+,)'**"1,"#-,)*'" %99:;;"9"9""""""9"<" %99:;;"9"9""""""9"<2++)" %99:;;"9"9""""""9"<%*3" %99:;;"9"9""""""9"<4+#*" %99:;;"9"9""""""9"<+,)'**" %99:;;"9"9""""""9"<5'+6" %99:99"9"9""""""9"<'++)" %99:;;"9"9""""""9"<'7." %99:;;"9"9""""""9"<,(," %9=:;;"9"9""""""9"<)#5" "
  • 17.
    © 2014 NipponTelegraph and Telephone Corporation !"✂ ✁✄☎✆✝✞✟✠" !"*64+">)*,)>"?"#()'**<0++2-'" " !"@✡☛☞✌✍✎✏" !"+,)'**"6+##&)"#()'**"//2'-.64" #-,)*'" " !"✑✒✓☞✔✕" !"+,)'**"%&00""#-,)*'" A""""<0++2-'" " !"✌✍✎✏✖✗☞✔✕" !"+,)'**"1+B"#-,)*'" 6+##&)"-*=;C6C%DEDFEG;-EF:=:=@G6%DG9=%%@;29:-G66DC;--262E D%0GF=2%;%=;29" H-)*I""@9=E/9;/@D"9CI9CI;9"J9999" " """"A%%"0++2-'" " 6+##&)"CD-FD*D:0;CF%*6FF%06E%GD@69G2ED9=D-E6FF;-;%*CDGG2G @09DE:2F6-6FF2" H-)*I""@9=E/9;/@D"9CI9FI9="J9999" " """"K.&)&-1&L*" " !"1,✘✙✂ ✁✄✚✛✜✞✢✠" !"+,)'**"1,"#-,)*'" %99:;;"9"9""""""9"<" /99FEE"9"9"""""";"<0++2-'" %99:;;"9"9""""""9"<2++)" %99:;;"9"9""""""9"<%*3" %99:;;"9"9""""""9"<4+#*" %99:;;"9"9""""""9"<+,)'**" %99:;;"9"9""""""9"<5'+6" %99:99"9"9""""""9"<'++)" %99:;;"9"9""""""9"<'7." %99:;;"9"9""""""9"<,(," %9=:;;"9"9""""""9"<)#5"
  • 18.
    © 2014 NipponTelegraph and Telephone Corporation Git✄ ✁✂☎✆✝✞✟ ✠Docker✄✡☛☞✌✍✎✏✑✒✓✔
  • 19.
    © 2014 NipponTelegraph and Telephone Corporation /home /var /usr /bin /sbin /lib /lib64 /home /var /usr /bin /sbin /lib /lib64 +,)'**"%*51+("#-,)*'" +,)'**"-%#&.",M&)64"NHOPQRSTOUVWKH? ✞ ✁✂ ✠✄ ✁✂ ✟☎✆✝✡chroot☛☞✄✌✍✎✏✑✒ ✓deploy✔✕✖✗✘✙✚✛✜✢✣✤✥✦✧★✩/ostree/deploy✪✫✬✗✘ID✩✭✮✘✯
  • 20.
    © 2014 NipponTelegraph and Telephone Corporation
  • 21.
    © 2014 NipponTelegraph and Telephone Corporation /home /var /usr /bin /sbin /lib /lib64 /home /var /usr /bin /sbin /lib /lib64 +,)'**"-%#&.",M&)64"NHOPQRSTOUVWKH? ✞ ✁✂ ✠✄ ✁✂
  • 22.
    © 2014 NipponTelegraph and Telephone Corporation
  • 24.
    © 2014 NipponTelegraph and Telephone Corporation
  • 25.
    © 2014 NipponTelegraph and Telephone Corporation •! /ostree ✄ ✁✂☎✁✆✝ •! deployment✞/ostree/deploy/<osname> •! chroot✟✠✁✆✝✡☛inode☞✌✍ !"!"#$%#&## '(")*++',+-!(.'-*(/+0)$1)(2%0$0(3)*(!!+*',+-!(.'14056789898:,466+,457;;;7695<6=6>977+:7741>715=9?69:>=1?+6>;6,?:@?'# @FE;;EF="2&."""@FE;;EF@"4+#*"""@FE;;EFF"#.)"""""@FE;;EFC"'++)"""GDGCD;D",(,""""""@FG;FG=D"3-'" """""F;@"2++)""@FE;;EFD"1&2""""@FE;;EF:"+5)""""""""""F;D"'7."""=FG=GC=C",(,'++)" =FG=GC=G"%*3"""@FE;;EFE"1&2FE""@FE;;EFG"+,)'**""@FE;;E:9",2&.""@FE;;E:@")#5" """DG9EG"*)6"""@FE;;EF;"#*%&-""@FE;;E:D"5'+6""""@FE;;E:=",'3"""@FE;;E:E"7,'" " !"!"#$%#'# @FE;;EF="2&."""@FE;;EF@"4+#*"""@FE;;EFF"#.)"""""@FE;;EFC"'++)"""""""""=",(,"""""""GDGG:E9"3-'" """""""@"2++)""@FE;;EFD"1&2""""@FE;;EF:"+5)"""""""""FD=9"'7.""""""""=@G",(,'++)" """""""D"%*3"""@FE;;EFE"1&2FE""@FE;;EFG"+,)'**""@FE;;E:9",2&.""@FE;;E:@")#5" """DG9EG"*)6"""@FE;;EF;"#*%&-"""""""""="5'+6""""@FE;;E:=",'3"""@FE;;E:E"7,'
  • 31.
    © 2014 NipponTelegraph and Telephone Corporation rpm-ostree •! ostree✄ –!rpm ✞ ✁✂☎✆ –!https://github.com/cgwalters/rpm-ostree •! JSON rpm rpm- ostree treecompose •! upgrade ✄
  • 32.
    © 2014 NipponTelegraph and Telephone Corporation !"✡ ✁✂✄☎✆✝✞✟✠☛" !"#$%&'",'3" !"6%",'3" " ! ☎✢☞✝✞✌✍✎ Z✏✑✒✓✔✕✖☛✗✘✙-'64&3*/L@✚✠☛[" !"+,)'**"//'*5+b<'++)<,'3<'*5+"//#+%*"-'643*/L@"&.&)" " !"✛✜☞✣✆✝✤✚✥✦✧☛" !"1,"'*5+" 6+.0&B""+2X*6),""'*0," '*#+)*/6-64*"")#5" " !"'*5+✟★✩✪✦✫✬✭✝" ,)'**"6+##&)"#()'**"//'*5+b<'++)<)*,)<'*5+"//2'-.64".*M#-,)*'" HTTP✮✯✰✱✲✳✴✵✶✯✷✲✳ ✸✹✺✻✼✽✷✾✿❀❁✲❂❃pull ✮❄✼
  • 33.
    © 2014 NipponTelegraph and Telephone Corporation
  • 34.
    © 2014 NipponTelegraph and Telephone Corporation v.s. OS •! VM •!
  • 35.
    © 2014 NipponTelegraph and Telephone Corporation v.s. Google ChromeOS autoupdate •! CoreOS✄ ✁✂☎✆✝✞✟✠✡☛ •! ☞✌✍✎✏✑✒✟✓✔✕✖☛✗✘✙✂✚✛✜✢✣✤✥✦✧ •! ☞✌✍✎✏✑✒✢★✩✪☛✂✚✫✬✭✮✏✯✍✰✂✱☎✄✲✳☛ •! ✴✎✯✵✶✠✛✜✢✷✡✸2✹✺✻✼ •! ✽✾✿✚❀❁✌✮❂❃✵❀1❄❅✂❆❇❈✌❉ •! OSTree✂✝✢❊❋✙★●❍
  • 36.
    © 2014 NipponTelegraph and Telephone Corporation v.s. Chef •! •! Chef •! –!✡   ✁ –!     ✁
  • 37.
    © 2014 NipponTelegraph and Telephone Corporation v.s. Docker •! •! Docker