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.
© 2017 Arm Limited
September 27, 2017
Linaro Connect SFO17
Moby and LinuxKit
on ARM64 Server
Dennis Chen
Staff Software En...
© 2017 Arm Limited2
Agenda
• Overview
• Design Principle
• Challenges on ARM64
• ARM64 Support Status
• Patch Contribution...
© 2017 Arm Limited3
Overview
• A toolkit to build a secure,
portable and lean Linux
Distribution on Demand.
• All system s...
© 2017 Arm Limited4
Design Principle
• Customizable
• Lightweight
• No redundant service
• Resource isolation
• Secure
• F...
© 2017 Arm Limited5
Challenges on ARM64
• Hardcode for AMD64 at the beginning of the LinuxKit project
• One code base to s...
© 2017 Arm Limited6
ARM64 Support Status
• April 2017
• Docker has plan to support LinuxKit on ARM64, with Arm’s
involveme...
© 2017 Arm Limited7
Patch contribution on ARM64
• 13 patches merged by upstream
• Refactor the original AMD64-only hardcod...
© 2017 Arm Limited8
Next Steps
• Security
• Content trust build, secure grub2...
• Performance optimization
• Both footpri...
© 2017 Arm Limited9
LinuxKit Demo on ARM64 on Friday Demo Day
• We will demo:
• How to customize and build a LinuxKit dist...
1010
Thank You!
Danke!
Merci!
谢谢!
ありがとう!
Gracias!
Kiitos!
© 2017 Arm Limited
Upcoming SlideShare
Loading in …5
×

Moby and LinuxKit on ARM64 Server - SFO17-305

456 views

Published on

Session ID: SFO17-305
Session Name: Moby and LinuxKit on ARM64 Server
- SFO17-305
Speaker: Dennis Chen

Track: LEG


★ Session Summary ★
The Moby and LinuxKit are the projects announced on April in DockerCon 2017, AUSTIN, TX. Moby is an open framework to assemble container-based components for the container ecosystem, while LinuxKit provides a toolkit for building secure, portable and custom Linux distribution for containers via the Moby. In this session, Dennis will demo how to build and run a custom Linux distribution assembled by Moby on ARM64 platforms, plus some typical usage scenarios in data center with those technologies.
---------------------------------------------------
★ Resources ★
Event Page: http://connect.linaro.org/resource/sfo17/sfo17-305/
Presentation:
Video: https://www.youtube.com/watch?v=z-x8UTUMJ_4
---------------------------------------------------

★ Event Details ★
Linaro Connect San Francisco 2017 (SFO17)
25-29 September 2017
Hyatt Regency San Francisco Airport

---------------------------------------------------
Keyword:
'http://www.linaro.org'
'http://connect.linaro.org'
---------------------------------------------------
Follow us on Social Media
https://www.facebook.com/LinaroOrg
https://twitter.com/linaroorg
https://www.youtube.com/user/linaroorg?sub_confirmation=1
https://www.linkedin.com/company/1026961

Published in: Technology
  • Be the first to comment

Moby and LinuxKit on ARM64 Server - SFO17-305

  1. 1. © 2017 Arm Limited September 27, 2017 Linaro Connect SFO17 Moby and LinuxKit on ARM64 Server Dennis Chen Staff Software Engineer
  2. 2. © 2017 Arm Limited2 Agenda • Overview • Design Principle • Challenges on ARM64 • ARM64 Support Status • Patch Contribution on ARM64 • Next Steps • LinuxKit Demo on ARM64
  3. 3. © 2017 Arm Limited3 Overview • A toolkit to build a secure, portable and lean Linux Distribution on Demand. • All system services will exist in form of containers, which can be replaced and removed. Source: Alvaro Miranda Dolphin LinuxKit
  4. 4. © 2017 Arm Limited4 Design Principle • Customizable • Lightweight • No redundant service • Resource isolation • Secure • Fast boot • Quick deployment
  5. 5. © 2017 Arm Limited5 Challenges on ARM64 • Hardcode for AMD64 at the beginning of the LinuxKit project • One code base to support both ARM64 and AMD64 • Multi-Arch Docker image support (consolidate ARCHs into one) • Some ARM64 specific packages are missing from Alpine distribution(ovmf…) • Some existing packages can’t work on ARM64, e.g. gummiboot tool, etc
  6. 6. © 2017 Arm Limited6 ARM64 Support Status • April 2017 • Docker has plan to support LinuxKit on ARM64, with Arm’s involvement afterwards • July 6th 2017 • The forked LinuxKit code base can run on ARM64 successfully, posted by @arm64b • https://github.com/arm64b/linuxkit-arm64/tree/aarch64 • August 4th 2017 • Work closely with LinuxKit community to merge above code into upstream, LinuxKit mainline can support both ARM64 and AMD64
  7. 7. © 2017 Arm Limited7 Patch contribution on ARM64 • 13 patches merged by upstream • Refactor the original AMD64-only hardcode to support multi-arch • Refactor the Dockerfiles to support multi-arch • Boot up the ARM64 kernels (4.4, 4.9, 4.12) for LinuxKit • Some ARM64 specific bug fixes: • 2498 – qemu: Fix the networking issue in 'tap' mode on arm64 • 2203 – ARM64: specify external firmware binary for containerized qemu • … • 1 patch under upstream review (one month ago) • 2454/2524 – mkimage: Support iso-efi generation for both arm64 and amd64 (latest update on Sep 25th, after a sleepless night suffering the jet lag, the PR has been merged. Thanks Avi D, Justin C, RN… AND thanks to packet.net providing the arm64 server to make it happens )
  8. 8. © 2017 Arm Limited8 Next Steps • Security • Content trust build, secure grub2... • Performance optimization • Both footprint and speed • Alpine Linux contribution • For those missing or malfunctional packages on ARM64 • Networking issues • Networking configuration persistent -- DHCP
  9. 9. © 2017 Arm Limited9 LinuxKit Demo on ARM64 on Friday Demo Day • We will demo: • How to customize and build a LinuxKit distribution image • How to make resource isolation with namespace • How to generate a tiny LinuxKit distribution with Nginx as microservice • See you on Friday!
  10. 10. 1010 Thank You! Danke! Merci! 谢谢! ありがとう! Gracias! Kiitos! © 2017 Arm Limited

×