Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

Foreword

Preface

Acknowledgments

About this Book

About the Cover Illustration

1. Docker fundamentals

Chapter 1. Discovering Docker

1.1. The what and why of Docker

1.1.1. What is Docker?

1.1.2. What is Docker good for?

1.1.3. Key concepts

1.2. Building a Docker application

1.2.1. Ways to create a new Docker image

1.2.2. Writing a Dockerfile

1.2.3. Building a Docker image

1.2.4. Running a Docker container

1.2.5. Docker layering

1.3. Summary

Chapter 2. Understanding Docker—inside the engine room

2.1. Docker’s architecture

2.2. The Docker daemon

Technique 1 Open your Docker daemon to the world

Problem

Solution

Discussion

Technique 2 Running containers as daemons

Problem

Solution

Discussion

Technique 3 Moving Docker to a different partition

Problem

Solution

Discussion

2.3. The Docker client

Technique 4 Use socat to monitor Docker API traffic

Problem

Solution

Discussion

Technique 5 Using ports to connect to containers

Problem

Solution

Discussion

Technique 6 Linking containers for port isolation

Problem

Solution