Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Docker at the Home Office
Billie Thompson
October 03, 2015
Technology
0
350
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
130
Symfony UK: API Contracts using Open API
purplebooth
0
240
Kubernetes at the Home Office (PHPUK 16)
purplebooth
1
310
Docker & Kubernetes at the Home Office
purplebooth
2
190
AngularJS and MicroServices
purplebooth
2
5.4k
MVVM and Silex
purplebooth
1
1.1k
MVVM and Silex - It's the future
purplebooth
0
730
Other Decks in Technology
See All in Technology
Learning to Solve Hard Minimal Problems
takmin
1
270
漫画で使えそうな背景画像をblenderを使って作ってみた!
nokonoko1203
0
190
IBM Cloud Festa Online 2022 Summer
1ftseabass
PRO
0
190
20220803投資先CXO候補者向け 会社紹介資料_合同会社BLUEPRINT
hik
0
220
CityGMLとFBXの連携で地理空間のエンタメ化
soh_mitian
0
650
金融スタートアップの上場準備で大事にしたマインドセット / 2022-08-04-the-mindset-in-preparing-for-ipo
stajima
0
310
ふりかえりの技術 / retrospectives
soudai
3
140
塩漬けにしているMySQL 8.0.xxをバージョンアップしたくなる、ここ数年でのMySQL 8.0の改善点 / MySQL Update 202208
yoshiakiyamasaki
1
580
私のAWS愛を聞け!ここが好きだよAmazon FSx for NetApp ONTAP
non97
0
730
Power Automate for desktopで 配信環境を改善してみた話
akiika
0
220
ReverseETLでユーザーに価値を届ける基盤を実現した話
hakky
0
330
プロダクトマネージャーの役割と育成、評価
middleokada
11
8.2k
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
351
21k
Gamification - CAS2011
davidbonilla
75
3.9k
How New CSS Is Changing Everything About Graphic Design on the Web
jensimmons
213
11k
Streamline your AJAX requests with AmplifyJS and jQuery
dougneiner
127
8.5k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
29
4.4k
Web Components: a chance to create the future
zenorocha
303
40k
Visualization
eitanlees
125
12k
YesSQL, Process and Tooling at Scale
rocio
157
12k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
181
15k
Code Review Best Practice
trishagee
44
9.7k
Large-scale JavaScript Application Architecture
addyosmani
499
110k
Infographics Made Easy
chrislema
233
17k
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/