Using Docker /
Docker containers offer simpler, faster, and more robust methods for developing, distributing, and running software than previously available. With this hands-on guide, you'll learn why containers are so important, what you'll gain by adopting Docker, and how to make it part of your develo...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Sebastopol, CA :
O'Reilly Media,
2015.
|
Edición: | First edition. |
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Copyright; Table of Contents; Preface; Who Should Read This Book; Why I Wrote This Book; Navigating This Book; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; Part I. Background and Basics; Chapter 1. The What and Why of Containers; Containers Versus VMs; Docker and Containers; Docker: A History; Plugins and Plumbing; 64-Bit Linux; Chapter 2. Installation; Installing Docker on Linux; Run SELinux in Permissive Mode; Running Without sudo; Installing Docker on Mac OS or Windows; A Quick Check; Chapter 3. First Steps
- Running Your First ImageThe Basic Commands; Building Images from Dockerfiles; Working with Registries; Private Repositories; Using the Redis Official Image; Conclusion; Chapter 4. Docker Fundamentals; The Docker Architecture; Underlying Technologies; Surrounding Technologies; Docker Hosting; How Images Get Built; The Build Context; Image Layers; Caching; Base Images; Dockerfile Instructions; Connecting Containers to the World; Linking Containers; Managing Data with Volumes and Data Containers; Sharing Data; Data Containers; Common Docker Commands; The run Command; Managing Containers
- Docker InfoContainer Info; Dealing with Images; Using the Registry; Conclusion; Part II. The Software Lifecycle with Docker; Chapter 5. Using Docker in Development; Say "Hello World!"; Automating with Compose; The Compose Workflow; Conclusion; Chapter 6. Creating a Simple Web App; Creating a Basic Web Page; Taking Advantage of Existing Images; Add Some Caching; Microservices; Conclusion; Chapter 7. Image Distribution; Image and Repository Naming; The Docker Hub; Automated Builds; Private Distribution; Running Your Own Registry; Commerical Registries; Reducing Image Size; Image Provenance
- ConclusionChapter 8. Continuous Integration and Testing with Docker; Adding Unit Tests to Identidock; Creating a Jenkins Container; Triggering Builds; Pushing the Image; Responsible Tagging; Staging and Production; Image Sprawl; Using Docker to Provision Jenkins Slaves; Backing Up Jenkins; Hosted CI Solutions; Testing and Microservices; Testing in Production; Conclusion; Chapter 9. Deploying Containers; Provisioning Resources with Docker Machine; Using a Proxy; Execution Options; Shell Scripts; Using a Process Manager (or systemd to Rule Them All); Using a Configuration Management Tool
- Host ConfigurationChoosing an OS; Choosing a Storage Driver; Specialist Hosting Options; Triton; Google Container Engine; Amazon EC2 Container Service; Giant Swarm; Persistent Data and Production Containers; Sharing Secrets; Saving Secrets in the Image; Passing Secrets in Environment Variables; Passing Secrets in Volumes; Using a Key-Value Store; Networking; Production Registry; Continuous Deployment/Delivery; Conclusion; Chapter 10. Logging and Monitoring; Logging; The Default Docker Logging; Aggregating Logs; Logging with ELK; Docker Logging with syslog; Grabbing Logs from File