Docker Cookbook


 Image Creation and Sharing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37



Download 6,31 Mb.
Pdf ko'rish
bet4/260
Sana21.04.2022
Hajmi6,31 Mb.
#570749
1   2   3   4   5   6   7   8   9   ...   260
Bog'liq
Docker Cookbook

2. Image Creation and Sharing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
2.0 Introduction 37
2.1 Keeping Changes Made to a Container by Committing to an Image 38
v
www.allitebooks.com


2.2 Saving Images and Containers as Tar Files for Sharing 39
2.3 Writing Your First Dockerfile 40
2.4 Packaging a Flask Application Inside a Container 43
2.5 Optimizing Your Dockerfile by Following Best Practices 45
2.6 Versioning an Image with Tags 47
2.7 Migrating from Vagrant to Docker with the Docker Provider 49
2.8 Using Packer to Create a Docker Image 51
2.9 Publishing Your Image to Docker Hub 55
2.10 Using ONBUILD Images 58
2.11 Running a Private Registry 59
2.12 Setting Up an Automated Build on Docker Hub for Continuous
Integration/Deployment 62
2.13 Setting Up a Local Automated Build by Using a Git Hook and a Private
Registry 66
2.14 Using Conduit for Continuous Deployment 67
3. Docker Networking. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
3.0 Introduction 69
3.1 Finding the IP Address of a Container 70
3.2 Exposing a Container Port on the Host 71
3.3 Linking Containers in Docker 73
3.4 Understanding Docker Container Networking 76
3.5 Choosing a Container Networking Namespace 79
3.6 Configuring the Docker Daemon IP Tables and IP Forwarding Settings 81
3.7 Using pipework to Understand Container Networking 83
3.8 Setting Up a Custom Bridge for Docker 88
3.9 Using OVS with Docker 90
3.10 Building a GRE Tunnel Between Docker Hosts 91
3.11 Running Containers on a Weave Network 94
3.12 Running a Weave Network on AWS 96
3.13 Deploying flannel Overlay Between Docker Hosts 98
3.14 Networking Containers on Multiple Hosts with Docker Network 100
3.15 Diving Deeper into the Docker Network Namespaces Configuration 104

Download 6,31 Mb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8   9   ...   260




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish