Skip to Content
Python Microservices Development
book

Python Microservices Development

by Tarek Ziadé
July 2017
Beginner to intermediate
340 pages
7h 43m
English
Packt Publishing
Content preview from Python Microservices Development

Docker 101

Running a container in Docker is done by executing a series of commands which starts a group of processes, which the tool isolates from the rest of the system.

Docker can be used to run a single process, but in practice we want to run a full Linux distribution. Not to worry, everything needed to run a full Linux inside Docker is already available.

Every existing Linux distribution out there provides a base image, which lets you run the distribution in Docker. The typical way you use images is by creating a Dockerfile (https://docs.docker.com/engine/reference/builder/), where you point the base image you want to use, and add some extra commands to be run to create the container.

The following is a basic example of a Docker file: ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python Microservices Development - Second Edition

Python Microservices Development - Second Edition

Simon Fraser, Tarek Ziadé
Python Web Development with Sanic

Python Web Development with Sanic

Stephen Sadowski, Adam Hopkins

Publisher Resources

ISBN: 9781785881114Supplemental Content