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
380
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
270
Kubernetes at the Home Office (PHPUK 16)
purplebooth
1
330
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
790
Other Decks in Technology
See All in Technology
アクセス制御にまつわる改善 / Improving access control
itkq
0
530
AOAI をきっかけに 社内の Azure 管理を見直した話
recruitengineers
PRO
1
280
ChatworkのSRE部って実は 半分くらいPlatform Engineering部かもしれない
saramune
0
160
生産性向上チームの紹介
cybozuinsideout
PRO
1
870
本当のAWS基礎
toru_kubota
0
510
DevOpsメトリクスとアウトカムの接続にトライ!開発プロセスを通して計測できるメトリクスの活用方法
ham0215
2
240
Janus
bkuhlmann
1
490
Java EE/Jakarta EEの現状と将来―クラウドネイティブ時代にJava EEは対応できるのか?―
takakiyo
1
150
web-application-security
matsuihidetoshi
0
160
Compose Compiler Metricsを使った実践的なコードレビュー
tomorrowkey
1
220
Python と Snowflake はズッ友だょ!~ Snowflake の Python 関連機能をふりかえる ~
__allllllllez__
1
120
データベース02: データベースの概念
trycycle
0
160
Featured
See All Featured
KATA
mclloyd
15
12k
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
Ruby is Unlike a Banana
tanoku
96
10k
Documentation Writing (for coders)
carmenintech
60
3.9k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
14
1.6k
Web Components: a chance to create the future
zenorocha
305
41k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
501
140k
The Cost Of JavaScript in 2023
addyosmani
16
3.9k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
17
1.4k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
116
18k
Happy Clients
brianwarren
92
6.4k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
357
22k
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/