build, release and distribute your Python app with Docker /
First Statement of Responsibility
Sathyajith Bhat.
.PUBLICATION, DISTRIBUTION, ETC
Place of Publication, Distribution, etc.
[United States] :
Name of Publisher, Distributor, etc.
Apress,
Date of Publication, Distribution, etc.
2018.
PHYSICAL DESCRIPTION
Specific Material Designation and Extent of Item
1 online resource
INTERNAL BIBLIOGRAPHIES/INDEXES NOTE
Text of Note
Includes bibliographical references and index.
CONTENTS NOTE
Text of Note
Intro; Table of Contents; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; Chapter 1: Introduction to Containerization; What Is Docker?; Docker the Company; Docker the Software Technology; Understanding Problems that Docker Solves; Containerization Through the Years; 1979: chroot; 2000: FreeBSD Jails; 2005: OpenVZ; 2006: cgroups; 2008: LXC; Knowing the Difference Between Containers and Virtual Machines; Summary; Chapter 2: Docker 101; Installing Docker; Installing Docker on Windows; Installing on MacOS; Installing on Linux; Additional Steps.
Text of Note
Chapter 4: Understanding the DockerfileDockerfile; Build Context; Dockerignore; Building Using Docker Build; Dockerfile Instructions; FROM; WORKDIR; ADD and COPY; RUN; CMD and ENTRYPOINT; Gotchas About Shell and Exec Form; ENV; VOLUME; EXPOSE; LABEL; Guidelines and Recommendations for Writing Dockerfiles; Multi-Stage Builds; Dockerfile Exercises; Summary; Chapter 5: Understanding Docker Volumes; Data Persistence; Example of Data Loss Within Docker Container; tmpfs Mounts; Bind Mounts; Volumes; Docker Volume Subcommands; Create Volume; Inspect; List Volumes; Prune Volumes; Remove Volumes.
Understanding Jargon Around DockerLayers; Docker Image; Docker Container; Bind Mounts and Volumes; Docker Registry; Dockerfile; Docker Engine; Docker Daemon; Docker CLI; Docker API; Docker Compose; Docker Machine; Hands-On Docker; Working with Docker Images; Working with a Real-World Docker Images; Summary; Chapter 3: Building the Python App; About the Project; Setting Up Telegram Messenger; BotFather: Telegram's Bot Creation Interface; Creating the Bot with BotFather; Newsbot: The Python App; Installing Dependencies of Newsbot; Running Newsbot; Sending Messages to Newsbot; Summary.
Text of Note
Using Volumes When Starting a ContainerVOLUME Instruction in Dockerfile; Docker Volume Exercises; Summary; Chapter 6: Understanding Docker Networks; Why Do We Need Container Networking?; Default Docker Network Drivers; Bridge Network; Host Network; Overlay Network; Macvlan Networks; None Networking; Working with Docker Networks; Bridge Networks; Creating Named Bridge Networks; Connecting Containers to Named Bridge Networks; Host Networks; Docker Networking Exercises; Summary; Chapter 7: Understanding Docker Compose; Overview of Docker Compose; Installing Docker Compose; Docker Compose Basics.
0
8
8
8
8
SUMMARY OR ABSTRACT
Text of Note
Learn the key differences between containers and virtual machines. Adopting a project based approach, this book introduces you to a simple Python application to be developed and containerized with Docker. After an introduction to Containers and Docker you'll be guided through Docker installation and configuration. You'll also learn basic functions and commands used in Docker by running a simple container using Docker commands. The book then moves on to developing a Python based Messaging Bot using required libraries and virtual environment where you'll add Docker Volumes to your project, ensuring your container data is safe. You'll create a database container and link your project to it and finally, bring up the Bot-associated database all at once with Docker Compose.
ACQUISITION INFORMATION NOTE
Source for Acquisition/Subscription Address
Safari Books Online
Stock Number
CL0500000986
OTHER EDITION IN ANOTHER MEDIUM
Title
Practical Docker with Python.
International Standard Book Number
9781484237830
TOPICAL NAME USED AS SUBJECT
Application software-- Development.
Python (Computer program language)
Application software-- Development.
Cloud computing.
COMPUTERS-- Programming Languages-- Python.
COMPUTERS-- Software Development & Engineering-- General.