Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Integrating Containers Into JavaScript
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Lucas Santos
May 14, 2021
Technology
97
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Integrating Containers Into JavaScript
Lucas Santos
May 14, 2021
More Decks by Lucas Santos
See All by Lucas Santos
The Hitchhiker's Guide for an Amazing API with TypeScript
khaosdoctor
0
140
Escalando globalmente com TypeScript e JavaScript na Klarna
khaosdoctor
0
230
The future of JavaScript
khaosdoctor
0
100
TypeScript tips that could save your life
khaosdoctor
0
270
É hora de falar sobre Deno
khaosdoctor
0
99
JS Software testing for beginners
khaosdoctor
0
110
Ambientes dinâmicos com GitHub Actions
khaosdoctor
0
77
The Dark Side of JavaScript
khaosdoctor
0
110
Entendendo o ecossistema de containers
khaosdoctor
1
1.5k
Other Decks in Technology
See All in Technology
SREでアラート疲れを 解決しよう!
kairim0
1
220
AI時代のPRレビューにどう向き合うか?
kairim0
1
160
全PRの83%が AIレビューだけでマージできるようになった開発組織は その後どうなったか @2026/10
athug
0
140
OR学会2026年秋期大会_機械学習と数理最適化の融合による、配合レシピ最適化システム開発事例
brainpadpr
0
120
「Docker Desktop不要の時代」は 来たのか?
ueponx
0
460
自作バイナリを動かす「入口」8選
puhitaku
2
1.3k
LLM機能を自作して分かるSnowflake Cortex AIの強み
nayuts
0
350
子育てエンジニアの可処分時間が減っても成長を諦めない戦い方
sudoakiy
6
4.4k
転んだ話が背中を預ける理由になる / A_story_about_falling_down_gives_you_a_reason_to_watch_each_other_s_backs.pdf
pauli
3
350
Codex概要
ymiya55
0
500
Execution in the Kingdom of Agents: Reflections on Abstraction and Complexity
bcantrill
0
900
継続的なAIコスト最適化
bgpat
1
280
Featured
See All Featured
Context Engineering - Making Every Token Count
addyosmani
9
1.2k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k
The browser strikes back
jonoalderson
0
1.8k
Music & Morning Musume
bryan
48
7.4k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
42k
New Earth Scene 8
popppiees
4
2.7k
Test your architecture with Archunit
thirion
2
2.4k
Docker and Python
trallard
47
4.2k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
520
Deep Space Network (abreviated)
tonyrice
0
360
Transcript
Integrating containers in JavaScript the good, the bad, and the
ugly
cloud advocate_ who am I_
[email protected]
{twitter, facebook, linkedin…}.lsantos.dev
containers are a thing_
it’s easy to control them
if you are human_
what if you’re not?
then we use containerd - High-level runtime (runtime manager) created
by the Open Container Initiative - Powers Docker - Created to be manipulated through code
not so easy for JS devs
Golang predominance
Then I came across this article_
What if I did this using Node.js?
The first attempt sometimes good, mostly bad, but always ugly
use child-process
pros - Super easy - Takes advantage of ctr’s built
in features - Faster implementation - Can be integrated with any external API
so easy that I built this
to the code
cons - heavily dependent on environment - no complete control
over the process - Limited to parsing the string outputs - Error handling is poor - Needs sudo - Input sanitizing
conclusion: we can integrate containers into JS
but I wanted a real integration
The second attempt mostly good, sometimes bad, kinda pretty
containerd was meant to be extended
but you need to know how to do it
None
None
but it is possible
to the code
pros - Proper error handling - Proper return codes -
Allows you full control of the pipeline - Does not need to be in the same machine - Does not require sudo - Native (gRPC module)
cons - Requires a LOT of knowledge in containers -
Sparse documentation both for gRPC and containerd - Harder - Might be a problem to connect to external servers - CRT certificates and so on
Next steps what can we do next?
let’s make this a good tool
Let’s add more knowledge to the Web!
refs_ - github.lsantos.dev/containerd-integration-example - github.lsantos.dev/js-containerd-example - github.lsantos.dev/containerd-js - Mark’s article
bit.ly/containerd-grpc-web These Slides: - slides.lsantos.dev/integrating-containers-into-javascript
thank you_ info.lsantos.dev