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
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
210
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
100
Developing Apps for the Watch
choefele
0
150
Other Decks in Technology
See All in Technology
ソフトウェア エンジニアとしての 姿勢と心構え
recruitengineers
PRO
22
11k
【 LLMエンジニアがヒューマノイド開発に挑んでみた 】 - 第104回 Machine Learning 15minutes! Hybrid
soneo1127
0
170
[CV勉強会@関東 CVPR2025 読み会] MegaSaM: Accurate, Fast, and Robust Structure and Motion from Casual Dynamic Videos (Li+, CVPR2025)
abemii
0
200
mruby(PicoRuby)で ファミコン音楽を奏でる
kishima
1
330
7月のガバクラ利用料が高かったので調べてみた
techniczna
3
750
Evolution on AI Agent and Beyond - AGI への道のりと、シンギュラリティの3つのシナリオ
masayamoriofficial
0
260
クラウドセキュリティを支える技術と運用の最前線 / Cutting-edge Technologies and Operations Supporting Cloud Security
yuj1osm
2
110
Vault meets Kubernetes
mochizuki875
0
140
Devinを使ったモバイルアプリ開発 / Mobile app development with Devin
yanzm
0
210
衝突して強くなる! BLUE GIANTと アジャイルチームの共通点とは ― いきいきと活気に満ちたグルーヴあるチームを作るコツ ― / BLUE GIANT and Agile Teams
naitosatoshi
0
220
DeNA での思い出 / Memories at DeNA
orgachem
PRO
5
1.8k
VPC Latticeのサービスエンドポイント機能を使用した複数VPCアクセス
duelist2020jp
0
330
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
The Invisible Side of Design
smashingmag
301
51k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.8k
Being A Developer After 40
akosma
90
590k
The Cult of Friendly URLs
andyhume
79
6.6k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.8k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
Optimizing for Happiness
mojombo
379
70k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
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