Learning Docker optimize the power of Docker to run your applications quickly and easily
If you are an application developer who wants to learn Docker in order to utilize its features for application deployment, then this book is for you. No prior knowledge of Docker is required.
Otros Autores: | , , |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham, England ; Mumbai, [India] :
Packt Publishing
2015.
|
Edición: | 1st edition |
Colección: | Community experience distilled.
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628435206719 |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Authors; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started with Docker; An introduction to Docker; Docker on Linux; Differentiating between containerization and virtualization; The convergence of containerization and virtualization; Containerization technologies; Installing the Docker engine; Installing from the Ubuntu package repository; Installing the latest Docker using docker.io script; Understanding the Docker setup; Client server communication; Downloading the first Docker image
- Running the first Docker containerRunning a Docker container on Amazon Web Services; Troubleshooting; Summary; Chapter 2: Handling Docker Containers; Clarifying the Docker terms; Docker images and containers; A Docker layer; A Docker container; Docker Registry; Docker Repository; Working with Docker images; Docker Hub Registry; Searching Docker images; Working with an interactive container; Tracking changes inside containers; Controlling Docker containers; Housekeeping containers; Building images from containers; Launching a container as a daemon; Summary; Chapter 3: Building Images
- Docker's integrated image building systemA quick overview of the Dockerfile's syntax; The Dockerfile build instructions; The FROM instruction; The MAINTAINER instruction; The COPY instruction; The ADD instruction; The ENV instruction; The USER instruction; The WORKDIR instruction; The VOLUME instruction; The EXPOSE instruction; The RUN instruction; The CMD instruction; The ENTRYPOINT instruction; The ONBUILD instruction; The .dockerignore file; A brief on the Docker image management; Best practices for writing Dockerfiles; Summary; Chapter 4: Publishing Images; Understanding the Docker Hub
- Pushing images to the Docker HubAutomating the building process for images; Private repositories on the Docker Hub; Organizations and teams on the Docker Hub; The REST APIs for the Docker Hub; Summary; Chapter 5: Running your Private Docker Infrastructure; The Docker registry and index; Docker registry use cases; Run your own index and registry; Step 1 - Deployment of the index components and the registry from GitHub; Step 2 - Configuration of nginx with the Docker registry; Step 3 - Set up SSL on the web server for secure communication; Push the image to the newly created Docker registry
- SummaryChapter 6: Running Services in a Container; A brief overview of container networking; Envisaging the Container as a Service; Building an HTTP server image; Running the HTTP server Image as a Service; Connecting to the HTTP service; Exposing container services; Publishing container ports - the -p option; Network Address Translation for containers; Retrieving the container port; Binding a container to a specific IP address; Auto-generating the Docker host port; Port binding using EXPOSE and the -P option; Summary; Chapter 7: Sharing Data with Containers; The data volume
- Sharing host data