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
470
0
Share
Docker at the Home Office
Billie Thompson
October 03, 2015
More Decks by Billie Thompson
See All by Billie Thompson
PHP London: API Contracts using Open API
purplebooth
0
180
Symfony UK: API Contracts using Open API
purplebooth
0
360
Kubernetes at the Home Office (PHPUK 16)
purplebooth
1
420
Docker & Kubernetes at the Home Office
purplebooth
2
220
AngularJS and MicroServices
purplebooth
2
5.7k
MVVM and Silex
purplebooth
1
1.5k
MVVM and Silex - It's the future
purplebooth
0
860
Other Decks in Technology
See All in Technology
JEP 522 Deep Dive - G1 GC同期コスト削減によるスループット向上を徹底検証&解説
tabatad
1
540
oracle-to-databricks-migration-with-llm-and-dbt
casek
1
390
A Harness for Behaviour: how to get AI to generate code that does what we intend, or "TDD in the age of AI"
xpmatteo
1
540
Claude code Orchestra
ozakiomumkj
3
840
GoとSIMDとWasmの今。
askua
2
430
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.8k
Claude Codeですべての日常業務を爆速化しよう!
minorun365
PRO
17
16k
AIプラットフォームを運用し続けるための可観測性
tanimuyk
4
920
ポスター発表&デモと総括 / Poster Presentations & Demonstrations and Summary
ks91
PRO
0
180
Terraformモジュールは、なぜ「魔境」化するのか
hayama17
1
140
さきさん文庫の書籍ができるまで
sakiengineer
0
330
オンコールの負荷軽減のためのBits Assistant 活用方法 / How to Use Bits Assistant to Reduce the Workload on On-Call Staff
sms_tech
1
370
Featured
See All Featured
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
A Soul's Torment
seathinner
6
2.9k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
850
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
380
Code Review Best Practice
trishagee
74
20k
SEO for Brand Visibility & Recognition
aleyda
0
4.6k
A Modern Web Designer's Workflow
chriscoyier
698
190k
How to build a perfect <img>
jonoalderson
1
5.5k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.9k
The Curse of the Amulet
leimatthew05
1
13k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.3k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
190
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/