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
44aki
September 12, 2024
38
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
59
Reactの再レンダリングを理解する / Understanding React Re-rendering
44aki
0
56
Hotwire入門 Part1 / Introduction to Hotwire Part 1
44aki
0
55
プロダクト開発における振り返り手法 / Reflection Methods in Product Development
44aki
0
56
プロダクト開発におけるエンジニアリングマネージャー(EM)の役割 / Role of the Engineering Manager in Product Development
44aki
0
100
MVP開発とWhy,What,Howの考え方 / MVP Development and the why, what, how concept
44aki
0
150
Featured
See All Featured
Writing Fast Ruby
sferik
630
63k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
730
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
160
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.8k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
Become a Pro
speakerdeck
PRO
31
6k
Crafting Experiences
bethany
1
170
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
200
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.2k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
320
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で開発環境用のコンテナが起動