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
Docker at the Home Office
Search
Billie Thompson
October 03, 2015
Technology
0
400
Docker at the Home Office
Billie Thompson
October 03, 2015
Tweet
Share
More Decks by Billie Thompson
See All by Billie Thompson
PHP London: API Contracts using Open API
purplebooth
0
150
Symfony UK: API Contracts using Open API
purplebooth
0
310
Kubernetes at the Home Office (PHPUK 16)
purplebooth
1
340
Docker & Kubernetes at the Home Office
purplebooth
2
200
AngularJS and MicroServices
purplebooth
2
5.5k
MVVM and Silex
purplebooth
1
1.3k
MVVM and Silex - It's the future
purplebooth
0
830
Other Decks in Technology
See All in Technology
プログラム検証入門
riru
6
880
「自動テストのプラクティスを効果的に学ぶためのカードゲーム」 ( #sqip2024 )
teyamagu
PRO
2
180
GC24 Recap: Interface Internals
task4233
0
160
AI前提のサービス運用ってなんだろう?
ryuichi1208
1
540
PdMはどのように全てのスピードを上げられるか ~ 非連続進化のための具体的な取り組み ~
sansantech
PRO
4
1.3k
2024年のナビゲーション・フォーカス対応:Composeでキーボード・ナビゲーションをサポートしよう
tahia910
0
110
言葉は感情の近似値である。その感情と言葉の誤差を最小化しよう ~コミュニケーションにおけるアナログ/デジタル変換の課題に立ち向かう~
nktamago
0
230
『GRANBLUE FANTASY: Relink』最高の「没入感」を実現するカットシーン制作手法とそれを支える技術
cygames
1
140
事前準備が肝!AI活用のための業務改革
layerx
PRO
1
390
サーバー管理しないサーバーサービスManaged DevOps Pool
kkamegawa
0
130
OSTという文化を組織に根付かせてみた
sansantech
PRO
2
400
Google CloudのLLM活用の選択肢を広げるVertex AIのパートナーモデル
nayuts
0
130
Featured
See All Featured
Become a Pro
speakerdeck
PRO
22
4.9k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
26
3.9k
Fireside Chat
paigeccino
31
2.9k
A better future with KSS
kneath
235
17k
What’s in a name? Adding method to the madness
productmarketing
PRO
21
3k
How to name files
jennybc
75
98k
Typedesign – Prime Four
hannesfritz
39
2.3k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
27
7.4k
The Art of Programming - Codeland 2020
erikaheidi
48
13k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
502
140k
What's new in Ruby 2.0
geeforr
340
31k
Transcript
Docker at the Home Office Billie Thompson @PurpleBooth https://github.com/PurpleBooth/flappy-endpoint -
Examples!
Billie Thompson @PurpleBooth Developer & Reluctant DevOps
None
None
None
None
None
–Docker “Docker is an open platform for developing, shipping, and
running applications. Docker is designed to deliver your applications faster.”
–Docker “Docker […] makes use of another technology called cgroups
or control groups. A key to running applications in isolation is to have them only use the resources you want.”
What is docker? Linux Kernel
What is docker? Linux Kernel
What is docker? Linux Kernel
What is docker? Linux Kernel
What is docker? Linux Kernel
What is docker? Linux Kernel
What is docker? Linux Kernel
How do you run a container? $ docker run \
--name=“flappy” \ -p “80:80" \ quay.io/purplebooth/flappy-endpoint
None
Finding containers • registry.hub.docker.com (Sort by Stars) • Websites of
software you’re using • Quay.io
How do you make a container
What is docker? FROM
What is docker? FROM COPY
What is docker? FROM COPY COPY
What is docker? FROM COPY COPY RUN
What is docker? FROM COPY COPY RUN quay.io/purplebooth/flappy-endpoint:latest
None
Continuous Integration • Your artefact is now a container •
Online build servers • https://hub.docker.com/ • https://quay.io/repository/
12 Factor • http://12factor.net/ • Key changes to your app:
• Log to STDOUT • Configure using Environment variables
Docker is awesome but how to manage
Docker is awesome but how to manage ?
None
None
None
None
Work like us • What and how we reuse things
• Think like a platform • Work Securely
Things We Reuse • Reuse Code • Reuse Containers •
Reuse Environments
The worlds most successful code reuse project • Work openly
• Open source • Be Good People
Being a good person (inside and out) • Version stuff
(SemVer) • Write Beautiful Documentation • License • Code of Conduct
Thinking like a Platform • Jira • Git • File
Hosting
Thinking like a PaaS • AWS + Kubernetes • CoreOS
on AWS (with Kubernetes) • Google Container Engine (Kubernetes) • Vagrant + Kubernetes • KUBERNETES!
Work Securely • Use WAF Containers • Control your upstream
containers! • Physical separation (sometimes)
Any Questions! @purplebooth • https://billie.codes/1MXEtRc - Kubernets on Vagrant •
https://github.com/PurpleBooth/flappy-endpoint • https://ukhomeoffice.github.io/