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
Swift server applications with Docker (Swift.Be...
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Claus Höfele
October 10, 2016
Technology
330
0
Share
Swift server applications with Docker (Swift.Berlin #21)
An introduction to Docker with examples on how to containerize a Swift server application.
Claus Höfele
October 10, 2016
More Decks by Claus Höfele
See All by Claus Höfele
Server-Side Swift (iOSDevUK 7)
choefele
0
240
Running Swift Code on AWS Lambda (CocoaHeads 01/2017)
choefele
0
380
Practical WatchKit Development (UIKonf 2015)
choefele
0
280
Practical WatchKit Development (CocoaHeads 04/2015)
choefele
0
110
Developing Apps for the Watch
choefele
0
160
Other Decks in Technology
See All in Technology
AWS WAFの運用を地道に改善し、自社で運用可能にするプラクティス
andpad
1
210
Purview 勉強会報告 Microsoft Purview 入門しようとしてみた
masakichixo
1
410
Claude Codeウェビナー資料 - AWSの最新機能をClaude Codeで高速に検証する
oshanqq
0
750
R&D 祭 2024 UE5で絵コンテ・作画の制作支援ツールをつくる話
olmdrd
PRO
0
140
サイボウズ、プラットフォームエンジニアリング始めるってよ ― プラットフォームチームの事業貢献と組織アラインメントの強化
ueokande
0
110
Every Conversation Counts
kawaguti
PRO
0
230
みんなの考えた最強のデータ基盤アーキテクチャ'26前期〜前夜祭〜ルーキーズ_資料_遠藤な
endonanana
0
340
サンプリングは「作る」のか「使う」のか? 分散トレースのコストと運用を両立する実践的戦略 / Why you need the tail sampling and why you don't want it
ymotongpoo
4
180
Redmine次期バージョン7.0の注目新機能解説 — UI/UX強化と連携強化を中心に
vividtone
1
120
"スキルファースト"で作る、AIの自走環境
subroh0508
0
300
Terragrunt x Snowflake + dbt で作るマルチテナントなデータ基盤構築プラットフォーム
gak_t12
0
170
ワールドカフェ再び、そしてゴール・ルール・ロール・ツール / World Café Revisited, and the Goals-Rules-Roles-Tools
ks91
PRO
0
170
Featured
See All Featured
Visualization
eitanlees
150
17k
Exploring anti-patterns in Rails
aemeredith
3
350
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2k
The Cult of Friendly URLs
andyhume
79
6.9k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
150
How to Ace a Technical Interview
jacobian
281
24k
Ruling the World: When Life Gets Gamed
codingconduct
0
230
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
240
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
390
So, you think you're a good person
axbom
PRO
2
2k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.6k
Transcript
@claushoefele +
MongoDB Before/After • Official How-To https://docs.mongodb.com/manual/tutorial/ install-mongodb-on-ubuntu/ • Docker docker
run --name db -d mongo
Docker Usage Docker Image Dockerfile Docker Hub Docker Container build
push run docker [OPTIONS] COMMAND [arg...] Dockerfile MongoDB
Dockerfile • Describes steps to produce an image • Can
inherit from other images • Images consist of layers • Images can be stored at Docker Hub
Docker Containers vs Virtual Machines Container VM
Docker Pros/Cons • Docker focuses on convenience and ease-of- use
• Abstracts providers (logging, deployment) • Lightweight (-> micro services) • Know what you deploy with pre-built images • But: Linux images only
A Typical Server App Database Data Application Server Reverse Proxy
Backup
docker-compose • Bundles multiple Docker commands • Includes connectivity (ports,
data) • Can be bound to remote machines via docker-machine
Environments Dev (macOS) CI (Linux) Prod (Linux) Package Management Swift
Package Manager Swift Package Manager N/A Build Environment Xcode docker build N/A Runtime Environment Xcode/ docker run docker run docker run
Demo
@claushoefele https://github.com/choefele/swift-server-app