Leanpub Header

Skip to main content

Learn Docker - .NET Core, Java, Node.JS, PHP or Python

Be ready to create and run your containerized application next week.

You know next to nothing about Docker but need to create and run your first containerized application using Docker within a week. Don't worry: this book has you covered.

Free With Membership

With Membership

Free!

$10.99

You pay

$10.99

Author earns

$8.79
$

...Or Buy With Credits!

You can get credits monthly with a Reader Membership
PDF
EPUB
WEB
455
Readers
136
Pages
About

About

About the Book

You're a developer who knows nothing to Docker. Which is fine, except that you need to create and run your first containerized application using Docker.

Don't worry: I have you covered. I've been training hundreds of developers like you during 17 years, and converted my experience into this book. I know from experience teaching what takes more time to learn in Docker, and will spend time only where appropriate.

Plus this book is packed with exercises and samples where you run your own containers and create your own Docker images.

Read this book, and you can create and run your first containerized application using Docker within a week. Or your money back.

Print version available here.

Share this book

Author

About the Author

Arnaud Weil

Arnaud Weil is a born developer: when he was a kid he was controlling his electric train using an Atari ST and some self-made electronics, then as a teenager created and distributed worldwide one of the first Web browsers for some of the first pocket computers, when the Web was just beginning. In fact, he loves coding.

Turning a passion into a career, Arnaud has been coding all kinds of applications from factory tools to smartphone applications to house control solutions. His status as a freelancer allows him to help his clients with many different projects.

But what Arnaud enjoys most is helping other developers: that's why he teaches, speaks, and writes books.

Other books by Arnaud Weil.

Contents

Table of Contents

Introduction

  1. What this book is not
  2. Prerequisites
  3. How to read this book
  4. Tools you need
  5. Source code

1.Why Docker?

  1. 1.1A DevOps enabler tool
  2. 1.2It solves dependency conflicts
  3. 1.3It allows for easy scaling up
  4. 1.4It allows for seamless upgrades
  5. 1.5International commerce already uses containers

2.Get Docker up and running

  1. 2.1Various products for various needs
  2. 2.2Community on a developer or CI machine
  3. 2.3Enterprise on a Server

3.Basic concepts

4.Use Docker images

  1. 4.1Do-it-yourself: run a container
  2. 4.2Container management commands
  3. 4.3Do-it-yourself: post-mortem inspection
  4. 4.4More about docker run
  5. 4.5Running a server container
  6. 4.6Exercise - Run a server container
  7. 4.7Exercise solution
  8. 4.8Using volumes
  9. 4.9Where do images come from?

5.Create Docker images

  1. 5.1Creating a simple image
  2. 5.2Creating an image including files
  3. 5.3Images are created locally
  4. 5.4Exercise - Build an image and run it
  5. 5.5Exercise solution
  6. 5.6Tags matter
  7. 5.7Parameters as environment variables
  8. 5.8Exercise - Enable an image to be parameterized
  9. 5.9Exercise solution
  10. 5.10Storage
  11. 5.11Networking
  12. 5.12Learning more

6.Publish Docker images

  1. 6.1Rationale for publishing
  2. 6.2Registries
  3. 6.3Publishing an image
  4. 6.4Docker Hub
  5. 6.5Run an image on another machine
  6. 6.6Exercise - Publish an image and run a container on another machine
  7. 6.7Exercise solution
  8. 6.8Private registries
  9. 6.9Size matters

7.Forget SDK installs

  1. 7.1One tool to rule them all
  2. 7.2Building rationally: easy CI
  3. 7.3Multi-stage dockerfiles

8.Docker with common development profiles

  1. 8.1.NET Core
  2. 8.2Java
  3. 8.3Node.JS
  4. 8.4PHP
  5. 8.5Python
  6. I need you, super-hero !

9.More about Running containers

  1. 9.1Restart mode
  2. 9.2Monitoring
  3. 9.3Reclaim your disk
  4. 9.4Orchestration basics

Image attributions

A word from the author

The Learn collection

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub