Learning Docker : optimize the power of Docker to run your applications quickly and easily /
Chapter 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 opt...
Clasificación: | Libro Electrónico |
---|---|
Autores principales: | , , |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham, UK :
Packt Publishing,
2015.
|
Colección: | Community experience distilled.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
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