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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Claus Höfele
October 10, 2016
Technology
320
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
230
Running Swift Code on AWS Lambda (CocoaHeads 01/2017)
choefele
0
370
Practical WatchKit Development (UIKonf 2015)
choefele
0
280
Practical WatchKit Development (CocoaHeads 04/2015)
choefele
0
110
Developing Apps for the Watch
choefele
0
150
Other Decks in Technology
See All in Technology
OpenClawでPM業務を自動化
knishioka
2
360
トイルを超えたCREは何屋になるのか
bengo4com
0
120
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
3
2.1k
GitHub Actions侵害 — 相次ぐ事例を振り返り、次なる脅威に備える
flatt_security
12
7.2k
GitHub Advanced Security × Defender for Cloudで開発とSecOpsのサイロを超える: コードとクラウドをつなぐ、開発プラットフォームのセキュリティ
yuriemori
1
120
Why we keep our community?
kawaguti
PRO
0
360
会社紹介資料 / Sansan Company Profile
sansan33
PRO
16
410k
Blue/Green Deployment を用いた PostgreSQL のメジャーバージョンアップ
kkato1
1
210
脳が溶けた話 / Melted Brain
keisuke69
1
1.2k
Cursor Subagentsはいいぞ
yug1224
2
130
【AWS】CloudTrail LakeとCloudWatch Logs Insightsの使い分け方針
tsurunosd
0
130
Databricks Lakehouse Federationで 運用負荷ゼロのデータ連携
nek0128
0
100
Featured
See All Featured
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.6k
Chasing Engaging Ingredients in Design
codingconduct
0
160
The Mindset for Success: Future Career Progression
greggifford
PRO
0
290
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
43k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
170
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
190
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
90
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
Abbi's Birthday
coloredviolet
2
6.2k
Mind Mapping
helmedeiros
PRO
1
140
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
Technical Leadership for Architectural Decision Making
baasie
3
300
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