Using docker: developing and deploying software with containers
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Beijing
O'Reilly
Dezember 2015
|
Ausgabe: | First edition |
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis Inhaltsverzeichnis |
Beschreibung: | xv, 337 Seiten Illustrationen |
ISBN: | 9781491915769 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV043674506 | ||
003 | DE-604 | ||
005 | 20160815 | ||
007 | t | ||
008 | 160718s2015 a||| |||| 00||| eng d | ||
020 | |a 9781491915769 |9 978-1-4919-1576-9 | ||
035 | |a (OCoLC)935665350 | ||
035 | |a (DE-599)HBZHT018855246 | ||
040 | |a DE-604 |b ger |e rda | ||
041 | 0 | |a eng | |
049 | |a DE-83 | ||
084 | |a ST 257 |0 (DE-625)143630: |2 rvk | ||
100 | 1 | |a Mouat, Adrian |0 (DE-588)110628271X |4 aut | |
245 | 1 | 0 | |a Using docker |b developing and deploying software with containers |c Adrian Mouat |
250 | |a First edition | ||
264 | 1 | |a Beijing |b O'Reilly |c Dezember 2015 | |
264 | 3 | |a © 2016 | |
300 | |a xv, 337 Seiten |b Illustrationen | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
650 | 0 | 7 | |a Programmierung |0 (DE-588)4076370-5 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Virtualisierung |0 (DE-588)4839180-3 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Docker 1.12 |0 (DE-588)1116737825 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a Virtualisierung |0 (DE-588)4839180-3 |D s |
689 | 0 | 1 | |a Programmierung |0 (DE-588)4076370-5 |D s |
689 | 0 | |5 DE-604 | |
689 | 1 | 0 | |a Docker 1.12 |0 (DE-588)1116737825 |D s |
689 | 1 | |8 1\p |5 DE-604 | |
856 | 4 | |m DE-601 |q pdf/application |u http://www.gbv.de/dms/bowker/toc/9781491915769.pdf |3 Inhaltsverzeichnis | |
856 | 4 | 2 | |m HBZ Datenaustausch |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=029087560&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-029087560 | ||
883 | 1 | |8 1\p |a cgwrk |d 20201028 |q DE-101 |u https://d-nb.info/provenance/plan#cgwrk |
Datensatz im Suchindex
_version_ | 1804176437412888576 |
---|---|
adam_text | Titel: Using docker
Autor: Mouat, Adrian
Jahr: 2015
Table of Contents
Preface....................................................................... xi
Part I. Background and Basics
1. The What and Why of Containers.............................................. 3
Containers Versus VMs 4
Docker and Containers 6
Docker: A History 8
Plugins and Plumbing 10
64-Bit Linux 10
2. Installation................................................................13
Installing Docker on Linux 13
Run SELinux in Permissive Mode 14
Running Without sudo 15
Installing Docker on Mac OS or Windows 15
A Quick Check 17
3. First Steps................................................................. 19
Running Your First Image 19
The Basic Commands 20
Building Images from Dockerfiles 24
Working with Registries 27
Private Repositories 29
Using the Redis Official Image 30
Conclusion 33
4. Docker Fundamentals.......................................................35
The Docker Architecture 35
Underlying Technologies 36
Surrounding Technologies 37
Docker Hosting 39
How Images Get Built 39
The Build Context 40
Image Layers 41
Caching 43
Base Images 44
Dockerfile Instructions 46
Connecting Containers to the World 49
Linking Containers 49
Managing Data with Volumes and Data Containers 51
Sharing Data 53
Data Containers 54
Common Docker Commands 55
The run Command 56
Managing Containers 59
Docker Info 62
Container Info 62
Dealing with Images 63
Using the Registry 66
Conclusion 67
Part II. The Software Lifecyde with Docker
5. Using Docker in Development................................................ 71
Say Hello World! 71
Automating with Compose 81
The Compose Workflow 83
Conclusion 84
6. Creating a Simple Web App....................................................................................................85
Creating a Basic Web Page 87
Taking Advantage of Existing Images 88
Add Some Caching . 93
Microservices 96
Conclusion 97
vi | Table of Contents
7. Image Distribution......................................................... 99
Image and Repository Naming 99
The Docker Hub 100
Automated Builds 102
Private Distribution 104
Running Your Own Registry 104
Commerical Registries 111
Reducing Image Size 111
Image Provenance 113
Conclusion 114
8. Continuous Integration and Testing with Docker............................... 115
Adding Unit Tests to Identidock 116
Creating a Jenkins Container 121
Triggering Builds 128
Pushing the Image 129
Responsible Tagging 129
Staging and Production 131
Image Sprawl 131
Using Docker to Provision Jenkins Slaves 132
Backing Up Jenkins 132
Hosted CI Solutions 133
Testing and Microservices 133
Testing in Production 135
Conclusion 135
9. Deploying Containers...................................................... 137
Provisioning Resources with Docker Machine 138
Using a Proxy 141
Execution Options 147
Shell Scripts 148
Using a Process Manager (or systemd to Rule Them All) 150
Using a Configuration Management Tool 153
Host Configuration 157
Choosing an OS 157
Choosing a Storage Driver 157
Specialist Hosting Options 160
Triton 160
Google Container Engine 162
Amazon EC2 Container Service 162
Giant Swarm 165
Persistent Data and Production Containers 167
Table of Contents | vii
Sharing Secrets
Saving Secrets in the Image
Passing Secrets in Environment Variables
Passing Secrets in Volumes
Using a Key-Value Store
Networking
Production Registry
Continuous Deployment/Delivery
Conclusion
10. Logging and Monitoring....................................................173
Logging 174
The Default Docker Logging 174
Aggregating Logs 176
Logging with ELK 177
Docker Logging with syslog 187
Grabbing Logs from File 193
Monitoring and Alerting 194
Monitoring with Docker Tools 194
cAdvisor 196
Cluster Solutions 197
Commercial Monitoring and Logging Solutions 201
Conclusion 201
167
167
168
168
169
170
170
171
171
Part III. Tools and Techniques
11. Networking and Service Discovery........................................... 205
Ambassadors 206
Service Discovery 210
etcd 210
SkyDNS 215
Consul 219
Registration 223
Other Solutions 225
Networking Options 226
Bridge 226
Host 227
Container 228
None 228
New Docker Networking 228
Network Types and Plugins 230
viii | Table of Contents
Networking Solutions 230
Overlay 231
Weave 233
Flannel 237
Project Calico 243
Conclusion 247
12. Orchestration, Clustering, and Management.................................. 251
Clustering and Orchestration Tools 252
Swarm 253
Fleet 259
Kubernetes 265
Mesos and Marathon 273
Container Management Platforms 284
Rancher 284
Clocker 286
Tutum 287
Conclusion 288
13. Security and Limiting Containers............................................ 291
Things to Worry About 292
Defense-in-Depth 294
Least Privilege 294
Securing Identidock 295
Segregate Containers by Host 297
Applying Updates 298
Avoid Unsupported Drivers 301
Image Provenance 302
Docker Digests 302
Docker Content Trust 303
Reproducible and Trustworthy Dockerfiles 307
Security Tips 309
Set a User 310
Limit Container Networking 311
Remove Setuid/Setgid Binaries 313
Limit Memory 314
Limit CPU 315
Limit Restarts 316
Limit Filesystems 316
Limit Capabilities 317
Apply Resource Limits (ulimits) 318
Run a Hardened Kernel 320
Table of Contents | ix
Linux Security Modules 32®
SELinux 321
AppArmor 32^
Auditing 32^
Incident Response 323
Future Features 32^
Conclusion 323
Index....................................................................... 329
x | Table of Contents
|
any_adam_object | 1 |
author | Mouat, Adrian |
author_GND | (DE-588)110628271X |
author_facet | Mouat, Adrian |
author_role | aut |
author_sort | Mouat, Adrian |
author_variant | a m am |
building | Verbundindex |
bvnumber | BV043674506 |
classification_rvk | ST 257 |
ctrlnum | (OCoLC)935665350 (DE-599)HBZHT018855246 |
discipline | Informatik |
edition | First edition |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01696nam a2200421 c 4500</leader><controlfield tag="001">BV043674506</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20160815 </controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">160718s2015 a||| |||| 00||| eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781491915769</subfield><subfield code="9">978-1-4919-1576-9</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)935665350</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)HBZHT018855246</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rda</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-83</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 257</subfield><subfield code="0">(DE-625)143630:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Mouat, Adrian</subfield><subfield code="0">(DE-588)110628271X</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Using docker</subfield><subfield code="b">developing and deploying software with containers</subfield><subfield code="c">Adrian Mouat</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">First edition</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Beijing</subfield><subfield code="b">O'Reilly</subfield><subfield code="c">Dezember 2015</subfield></datafield><datafield tag="264" ind1=" " ind2="3"><subfield code="a">© 2016</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">xv, 337 Seiten</subfield><subfield code="b">Illustrationen</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Programmierung</subfield><subfield code="0">(DE-588)4076370-5</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Virtualisierung</subfield><subfield code="0">(DE-588)4839180-3</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Docker 1.12</subfield><subfield code="0">(DE-588)1116737825</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">Virtualisierung</subfield><subfield code="0">(DE-588)4839180-3</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="1"><subfield code="a">Programmierung</subfield><subfield code="0">(DE-588)4076370-5</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="689" ind1="1" ind2="0"><subfield code="a">Docker 1.12</subfield><subfield code="0">(DE-588)1116737825</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="1" ind2=" "><subfield code="8">1\p</subfield><subfield code="5">DE-604</subfield></datafield><datafield tag="856" ind1="4" ind2=" "><subfield code="m">DE-601</subfield><subfield code="q">pdf/application</subfield><subfield code="u">http://www.gbv.de/dms/bowker/toc/9781491915769.pdf</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">HBZ Datenaustausch</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=029087560&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-029087560</subfield></datafield><datafield tag="883" ind1="1" ind2=" "><subfield code="8">1\p</subfield><subfield code="a">cgwrk</subfield><subfield code="d">20201028</subfield><subfield code="q">DE-101</subfield><subfield code="u">https://d-nb.info/provenance/plan#cgwrk</subfield></datafield></record></collection> |
id | DE-604.BV043674506 |
illustrated | Illustrated |
indexdate | 2024-07-10T07:32:10Z |
institution | BVB |
isbn | 9781491915769 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-029087560 |
oclc_num | 935665350 |
open_access_boolean | |
owner | DE-83 |
owner_facet | DE-83 |
physical | xv, 337 Seiten Illustrationen |
publishDate | 2015 |
publishDateSearch | 2015 |
publishDateSort | 2015 |
publisher | O'Reilly |
record_format | marc |
spelling | Mouat, Adrian (DE-588)110628271X aut Using docker developing and deploying software with containers Adrian Mouat First edition Beijing O'Reilly Dezember 2015 © 2016 xv, 337 Seiten Illustrationen txt rdacontent n rdamedia nc rdacarrier Programmierung (DE-588)4076370-5 gnd rswk-swf Virtualisierung (DE-588)4839180-3 gnd rswk-swf Docker 1.12 (DE-588)1116737825 gnd rswk-swf Virtualisierung (DE-588)4839180-3 s Programmierung (DE-588)4076370-5 s DE-604 Docker 1.12 (DE-588)1116737825 s 1\p DE-604 DE-601 pdf/application http://www.gbv.de/dms/bowker/toc/9781491915769.pdf Inhaltsverzeichnis HBZ Datenaustausch application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=029087560&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis 1\p cgwrk 20201028 DE-101 https://d-nb.info/provenance/plan#cgwrk |
spellingShingle | Mouat, Adrian Using docker developing and deploying software with containers Programmierung (DE-588)4076370-5 gnd Virtualisierung (DE-588)4839180-3 gnd Docker 1.12 (DE-588)1116737825 gnd |
subject_GND | (DE-588)4076370-5 (DE-588)4839180-3 (DE-588)1116737825 |
title | Using docker developing and deploying software with containers |
title_auth | Using docker developing and deploying software with containers |
title_exact_search | Using docker developing and deploying software with containers |
title_full | Using docker developing and deploying software with containers Adrian Mouat |
title_fullStr | Using docker developing and deploying software with containers Adrian Mouat |
title_full_unstemmed | Using docker developing and deploying software with containers Adrian Mouat |
title_short | Using docker |
title_sort | using docker developing and deploying software with containers |
title_sub | developing and deploying software with containers |
topic | Programmierung (DE-588)4076370-5 gnd Virtualisierung (DE-588)4839180-3 gnd Docker 1.12 (DE-588)1116737825 gnd |
topic_facet | Programmierung Virtualisierung Docker 1.12 |
url | http://www.gbv.de/dms/bowker/toc/9781491915769.pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=029087560&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT mouatadrian usingdockerdevelopinganddeployingsoftwarewithcontainers |
Es ist kein Print-Exemplar vorhanden.
Inhaltsverzeichnis