ebook img

Docker Hands on Deploy, Administer Docker Platform PDF

225 Pages·2015·11.6 MB·English
by  Bibin W
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Docker Hands on Deploy, Administer Docker Platform

Hands on Docker Dedicated to the people I love and the God I trust. — Navin Sabharwal Dedicated to people who made my life worth living and carved me into an individual I am today and to God who shades every step of my life. — Bibin W Contents at a Glance 1: Linux Container 2: Docker 3: Docker Installation 4: Working With Images and Container 5: Docker Container Linking and Data Management 6: Building images and containers from scratch using Dockerfile 7: Testing and building container’s using Jenkins 8: Docker Provisioning using Chef and Vagrant 9: Deployment, Service Discovery and Orchestration tools for Docker 10: Networking, Security and Docker API’s 11: Cloud Based Container Services Contents Linux Containers Namespaces: Cgroups Copy on write file system: Docker Introduction Why to use Docker Docker Architecture: Docker internal components: Working of Docker: Underlying Technology: Immutable infrastructure with Docker Installation Supported platforms: Installing Docker on windows: Installing Docker on Ubuntu: Launching Docker containers: Creating a daemonized container: Connecting remote docker host using docker client Docker server access over https Working with containers Docker Images Container linking Linking containers together: Data management in containers Docker data volumes: Building and testing containers from scratch Dockerfile Dockerfile Best Practices A static website using Apache Creating MySQL image and containers Creating a WordPress container Running multiple websites on a single host using Docker: Building and testing containers using Jenkins Docker Provisioners Docker vagrant provisioner Managing Docker using chef Docker Deployment Tools Fig Shipyard Panamax Docker Service Discovery and Orchestration Service discovery with consul Consul Architecture Docker cluster management using Mesos Mesosphere Docker cluster management using Kubernetes Kubernetes components Minion server Work Units Installation Docker orchestration using CoreOS and fleet CoreOS Architecture Networking, security and API’s Docker networking Docker security Docker Remote API: (version v1.15) Cloud container services Google container engine Amazon container service (ECS) About the Authors Navin Sabharwal is an innovator, thought leader, author, and consultant in the areas of virtualization, cloud computing, big data and analytics. Navin has created niche award-winning products and solutions and has filed numerous patents in diverse fields such as IT services, virtual machine placement, cloud capacity analysis, assessment engines, ranking algorithms, capacity planning engines, and knowledge management. Navin holds a Masters in Information Technology and is a Certified Project Management Professional. Navin has authored the following books: Cloud Computing First Steps (Publisher: CreateSpace, ISBN#: 978-1478130086), Apache Cloudstack Cloud Computing (Publisher: Packt Publishing, ISBN#: 978-1782160106), Cloud Capacity Management (Publisher Apress, ISBN #: 978-1430249238) Bibin W has been working with virtualization and cloud technologies, he is a subject matter expert in VMware, Linux Container, Docker, Amazon Web Services, Chef and Azure. Bibin holds a Masters in Computer Science from SRM University, Chennai. The authors can be reached at [email protected]. Acknowledgments Special thanks go out to the people who have helped in creation of this book Dheeraj Raghav for his creative inputs in the design of this book, Piyush Pandey for his reviews and insights into the content. The authors will like to acknowledge the creators of virtualization technologies and the open source community for providing such powerful tools and technologies and enable products and solutions which solve real business problems easily and quickly. Preface Docker is making waves in the technology circles and is rapidly gaining mindshare from developers, startups, technology companies and architects. We all know how virtualization has changed the datacenter and cloud forever, virtualization has allowed enterprises and cloud providers to make the datacenter more agile, manageable, cloud friendly and application friendly. However virtualization has overheads of the guest operating system and costly licensing for virtualization software, thus limiting the utilization of the host. The Containerization technology is seeing resurgence with Docker, containerization has been around since many years, and however it is now that Docker has revived the interest of the technology community in containers. Fundamental support for containerization was actually included in the Linux 2.6.24 kernel to provide operating system-level virtualization and allow a single host to operate multiple isolated Linux instances, called Linux Containers (LXC). LXC is based on Linux control groups (cgroups) where every control group can offer applications complete resource isolation (including processor, memory and I/O access). Linux Containers also offer complete isolation for the container’s namespace, so supporting functions like file systems, user IDs, network IDs and other elements usually associated with operating systems are unique for each container. Docker uses the container technology but creates a layer above the LXC layer for packaging, deployment and migration of workloads to different hosts. Docker container technology has taken the cloud and application development world by storm since it was open-sourced a little over a year ago, offering a way to package and deploy applications across a variety of Linux instances. Enterprises stand to gain by further reducing the datacenter footprint and using the host’s resources to their maximum using the Docker and LXC technology. Coupled with the ease of migration and fast scale out of containers it is turning out to be a technology which is well suited for the cloud use case. Docker is also going to have an impact on the devops lifecycle, by providing capabilities to support immutable infrastructure model, technologies like Docker may fundamentally change the way the operations world works, rather than updating the current running instances of operating systems, organizations may move to a model where the server container itself is replaced with a newer version and the old ones are taken out. This book will help our readers to appreciate the Docker technology, the benefits and features provided by Docker and get a deep dive technical perspective on architecting solutions using Docker. The book will enable a reader to appreciate, install, configure, administer and deploy applications on the Docker platform.

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.