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
0
320
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
Tweet
Share
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
270
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
茨城の思い出を振り返る ~CDKのセキュリティを添えて~ / 20260201 Mitsutoshi Matsuo
shift_evolve
PRO
1
370
SREのプラクティスを用いた3領域同時 マネジメントへの挑戦 〜SRE・情シス・セキュリティを統合した チーム運営術〜
coconala_engineer
2
740
Ruby版 JSXのRuxが気になる
sansantech
PRO
0
160
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
520
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.6k
データの整合性を保ちたいだけなんだ
shoheimitani
8
3.2k
顧客との商談議事録をみんなで読んで顧客解像度を上げよう
shibayu36
0
280
日本の85%が使う公共SaaSは、どう育ったのか
taketakekaho
1
240
クレジットカード決済基盤を支えるSRE - 厳格な監査とSRE運用の両立 (SRE Kaigi 2026)
capytan
6
2.8k
Agile Leadership Summit Keynote 2026
m_seki
1
660
こんなところでも(地味に)活躍するImage Modeさんを知ってるかい?- Image Mode for OpenShift -
tsukaman
1
170
量子クラウドサービスの裏側 〜Deep Dive into OQTOPUS〜
oqtopus
0
140
Featured
See All Featured
The Language of Interfaces
destraynor
162
26k
A designer walks into a library…
pauljervisheath
210
24k
Google's AI Overviews - The New Search
badams
0
910
Building Applications with DynamoDB
mza
96
6.9k
Paper Plane (Part 1)
katiecoart
PRO
0
4.3k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
71
Skip the Path - Find Your Career Trail
mkilby
0
58
Fireside Chat
paigeccino
41
3.8k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
0
2.3k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
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