Cargando…

Docker cookbook : 80 hands-on recipes to efficiently work with the Docker 1.6 environment on Linux /

Docker Cookbook is for developers, system administrators, and DevOps engineers who want to use Docker in his/her development, QA, or production environments. It is expected that the reader has basic Linux/Unix skills such as installing packages, editing files, managing services, and so on. Any exper...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Khare, Neependra (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Publishing, 2015.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover
  • Copyright
  • Credits
  • About the Author
  • About the Reviewers
  • www.PacktPub.com
  • Table of Contents
  • Preface
  • Chapter 1: Introduction and Installation
  • Introduction
  • Verifying the requirements for Docker installation
  • Installing Docker
  • Pulling an image and running a container
  • Adding a nonroot user to administer Docker
  • Setting up the Docker host with Docker Machine
  • Finding help with the Docker command line
  • Chapter 2: Working with the Docker Containers
  • Introduction
  • Listing/searching for an image
  • Pulling an image
  • Listing images
  • Starting a container
  • Listing containers
  • Looking at the logs of containers
  • Stopping a container
  • Deleting a container
  • Setting the restart policy on a container
  • Getting privileged access inside a container
  • Exposing a port while starting a container
  • Accessing the host device inside the container
  • Injecting a new process to a running container
  • Returning low-level information about a container
  • Labeling and filtering containers
  • Chapter 3: Working with Docker Images
  • Introduction
  • Creating an account with Docker Hub
  • Creating an image from the container
  • Publishing an image to the registry
  • Looking at the history of an image
  • Deleting an image
  • Exporting an image
  • Importing an image
  • Building images using Dockerfiles
  • Building an Apache image
  • a Dockerfile example
  • Accessing Firefox from a container
  • a Dockerfile example
  • Building a WordPress image
  • a Dockerfile example
  • Setting up a private index/registry
  • Automated builds
  • with GitHub and Bitbucket
  • Creating the base image
  • using supermin
  • Creating the base image
  • using Debootstrap
  • Visualizing dependencies between layers
  • Chapter 4: Network and Data Management for Containers
  • Introduction
  • Accessing containers from outside.
  • Managing data in containers
  • Linking two or more containers
  • Developing a LAMP application by linking containers
  • Networking of multihost container with Flannel
  • Assigning IPv6 addresses to containers
  • Chapter 5: Docker Use Cases
  • Introduction
  • Testing with Docker
  • Doing CI/CD with Shippable and Red Hat OpenShift
  • Doing CI/CD with Drone
  • Setting up PaaS with OpenShift Origin
  • Building and deploying an app on OpenShift v3 from the source code
  • Configuring Docker as a hypervisor driver for OpenStack
  • Chapter 6: Docker APIs and Language Bindings
  • Introduction
  • Configuring the Docker daemon remote API
  • Performing image operations using remote APIs
  • Performing container operations using remote APIs
  • Exploring Docker remote API client libraries
  • Securing the Docker daemon remote API
  • Chapter 7: Docker Performance
  • Introduction
  • Benchmarking CPU performance
  • Benchmarking disk performance
  • Benchmarking network performance
  • Getting container resource usage using the stats feature
  • Setting up performance monitoring
  • Chapter 8: Docker Orchestration and Hosting Platform
  • Introduction
  • Running applications with Docker Compose
  • Setting up cluster with Docker Swarm
  • Setting up CoreOS for Docker orchestration
  • Setting up a Project Atomic host
  • Doing atomic update/rollback with Project Atomic
  • Adding more storage for Docker in Project Atomic
  • Setting up Cockpit for Project Atomic
  • Setting up a Kubernetes cluster
  • Scaling up and down in a Kubernetes cluster
  • Setting up WordPress with a Kubernetes cluster
  • Chapter 9: Docker Security
  • Introduction
  • Setting Mandatory Access Control (MAC) with SELinux
  • Allowing writes to volume mounted from the host with SELinux ON
  • Removing capabilities to breakdown the power of a root user inside a container.
  • Sharing namespaces between the host and the container
  • Chapter 10: Getting Help and Tips and Tricks
  • Introduction
  • Starting Docker in debug mode
  • Building a Docker binary from the source
  • Building images without using cached layers
  • Building your own bridge for container communication
  • Changing the default execution driver of Docker
  • Selecting the logging driver for containers
  • Getting real-time Docker events for containers
  • Index.