Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Dev Containerを使ってみよう / Let's try Dev Container!
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
44aki
September 12, 2024
39
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Dev Containerを使ってみよう / Let's try Dev Container!
44aki
September 12, 2024
More Decks by 44aki
See All by 44aki
個人開発でDevinに20ドル課金してみた / Devin starting at $20
44aki
0
61
Reactの再レンダリングを理解する / Understanding React Re-rendering
44aki
0
61
Hotwire入門 Part1 / Introduction to Hotwire Part 1
44aki
0
60
プロダクト開発における振り返り手法 / Reflection Methods in Product Development
44aki
0
58
プロダクト開発におけるエンジニアリングマネージャー(EM)の役割 / Role of the Engineering Manager in Product Development
44aki
0
110
MVP開発とWhy,What,Howの考え方 / MVP Development and the why, what, how concept
44aki
0
160
Featured
See All Featured
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
990
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
430
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Art, The Web, and Tiny UX
lynnandtonic
304
22k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
200
The SEO identity crisis: Don't let AI make you average
varn
0
530
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
650
The browser strikes back
jonoalderson
0
1.5k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
New Earth Scene 8
popppiees
3
2.5k
Transcript
Dev Containerを使ってみよう Let's try Dev Container!
h Development ContainerのP h 開発環境をまるっとコンテナ化できるので、ローカル環境を汚染しな' h ローカルに必要なのはdockerとDev Container対応エディタだ h 元々はVS
Codeの拡張機能だったが、現在はOSS化されて様々なエディタにも対応 Dev Containerって何?
hello_app$ rails devcontainer ... Generating Dev Container with the following
options: app_name: hello_app database: sqlite3 active_storage: true redis: true system_test: true node: false create: .devcontainer create: .devcontainer/devcontainer.json create: .devcontainer/Dockerfile create: .devcontainer/compose.yaml gsub: test/application_system_test_case.rb Rails 7 .2は8/10リリース(現時点でのRails最新ver) Railsでもver7 .2から Dev Containerオプションが追加
Dev Containerの使用方法
VS CodeにDev Containerの拡張機能を追加
VS Codeの左下のアイコンからRemote Windowを表示
Reopen in Containerで開発環境用のコンテナが起動