- Table View
- List View
Django RESTful Web Services: The easiest way to build Python RESTful APIs and web services with Django
by Gastón C. Hillar Norbert MátéDesign, build and test RESTful web services with the Django framework and Python Key Features Create efficient real-world RESTful web services with the latest Django framework Authenticate, secure, and integrate third-party packages efficiently in your Web Services Leverage the power of Python for faster Web Service development Book Description Django is a Python web framework that makes the web development process very easy. It reduces the amount of trivial code, which simplifies the creation of web applications and results in faster development. It is very powerful and a great choice for creating RESTful web services. If you are a Python developer and want to efficiently create RESTful web services with Django for your apps, then this is the right book for you. The book starts off by showing you how to install and configure the environment, required software, and tools to create RESTful web services with Django and the Django REST framework. We then move on to working with advanced serialization and migrations to interact with SQLite and non-SQL data sources. We will use the features included in the Django REST framework to improve our simple web service. Further, we will create API views to process diverse HTTP requests on objects, go through relationships and hyperlinked API management, and then discover the necessary steps to include security and permissions related to data models and APIs. We will also apply throttling rules and run tests to check that versioning works as expected. Next we will run automated tests to improve code coverage. By the end of the book, you will be able to build RESTful web services with Django. What you will learn The best way to build a RESTful Web Service or API with Django and the Django REST Framework Develop complex RESTful APIs from scratch with Django and the Django REST Framework Work with either SQL or NoSQL data sources Design RESTful Web Services based on application requirements Use third-party packages and extensions to perform common tasks Create automated tests for RESTful web services Debug, test, and profile RESTful web services with Django and the Django REST Framework Who this book is for This book is for Python developers who want to create RESTful web services with Django; you need to have a basic working knowledge of Django but no previous experience with RESTful web services is required.
Django Standalone Apps: Learn to Develop Reusable Django Libraries
by Ben LopatinDevelop standalone Django apps to serve as the reusable building blocks for larger Django projects. This book explores best practices for publishing these apps, with special considerations for testing Django apps, and strategies for extracting existing functionality into a separate package. This jumpstart reference is divided into four distinct and sequential sections, all containing short, engaging chapters that can be read in a modular fashion, depending on your level of experience. The first section covers the structure and scope of standalone Django apps. The second section digs into questions about pulling code out of existing projects and into new standalone apps for reuse. The third section details additional, advanced technical best practices toward making standalone apps as broadly useful as possible. The fourth and final section covers strategies for managing a published Django app.Django Standalone Apps is the perfect resource for developers who have at least some prior experience working with Django web applications and want to simplify their deployments and share their knowledge as open source packages. What You'll LearnScope a standalone Django app project for optimum usefulnessExtract code from existing projects to reuseTest a standalone app outside of your Django projectReuse your own code for increased delivery cadence and code qualityReview best practices for maintaining a Django app packageWho This Book Is ForProfessional developers who work with Django. Deep expertise is not required or expected, but readers should have working familiarity with Django.
Django in Action
by Christopher TrudeauBuild professional quality web applications using Python and the Django 5.0 web framework.The Django web application framework powers huge sites like Netflix, Dropbox, YouTube, and Spotify. Learn how it can power your web apps too! In this hands-on book, you&’ll begin building a fully functional web application with Django starting with chapter 1. In Django in Action you&’ll: Build a multi-user web site in Django Read, write, and manage data Create reusable and composable HTML templates Manage user data including form submissions and file uploads Set up authentication, authorization, and per-person-per-page permissions Manage the backend using the Django Admin tool Discover Django libraries and plugins Django in Action is the perfect way to get started for new Django developers creating their first Python-based web apps. It&’s written by Christopher Trudeau, co-host of The Real Python Podcast and creator of dozens of popular courses at Real Python and TalkPython. The book starts with Django&’s basics and works through all of the core concepts of the framework until you&’re comfortable and confident creating your own web apps. You&’ll especially enjoy the author&’s lighthearted style that makes learning fun! Foreword by Michael Kennedy. About the technology Django makes life easier for Python web developers. This &“batteries included&” framework comes packed with everything you need—a template engine that crafts HTML-like code, efficient user management features, automated testing, robust API support, and much more. If you know the basics of Python, Django will help you build professional-quality web applications. This book will show you how. About the book In Django in Action you&’ll dive deep into Django as you build a complete multi-user website. Hands-on from the start, each chapter introduces new features to your site, including password management and authentication, web forms and file uploads, and dynamic, JavaScript-like interactivity. You&’ll see how all the components of a Django project come together while learning practical tips on leveraging third-party libraries and deploying your code to production. What's inside Reusable and composable HTML templates Reading, writing, and managing data Backend management with Django Admin Exploring Django libraries and plugins About the reader For readers with basic Python programming and some HTML knowledge. About the author Christopher Trudeau is the co-host of the Real Python Podcast, a prolific author of Django and Python articles and video courses, and an experienced Python developer. Table of Contents PART 1 1 Django unfolds 2 Your first Django site 3 Templates 4 Django ORM 5 Django Admin PART 2 6 User management 7 Forms, user data, static files, and uploads 8 Testing your project 9 Management commands 10 Migration PART 3 11 APIs 12 Making your pages more dynamic with HTMX 13 Django power tools 14 Where to go next Appendix A Appendix B Appendix C Appendix D Appendix E
Django: Web Development with Python
by Samuel Dauzon Aidas Bendoraitis Arun RavindranFrom an idea to a prototype - a complete guide for web development with the Django framework About This Book * Explore the best practices to develop applications of a superior quality with Django framework * Unravel the common problems of web development in Django * This course teaches you major Django functions and will help you improve your skills by developing models, forms, views, and templates * Experience the challenges of working on an end-to-end social network project Who This Book Is For Web developers who want to use modern Python-based web frameworks like Django to build powerful web applications. The course is mostly self-contained and introduces web development with Python to a reader who is familiar with web development concepts and can help him become an expert in this trade. It's intended for all levels of web developers, both students and practitioners from novice to experts. What You Will Learn * Use Django models to store information in the database and generate queries to access a database across models * Quickly develop web pages to create, read, update, and delete data from the model using class-based views * Generate very maintainable forms with Django * Import data from local sources and external web services as well as exporting your data to third parties * Deep dive into various aspects of Django from models and views to testing and deployment * Familiarize yourself with the various nuances of web development such as browser attacks and databases In Detail Data science is hot right now, and the need for multitalented developers is greater than ever before. A basic grounding in building apps with a framework as minimalistic, powerful, and easy-to-learn as Django will be a useful skill to launch your career as an entrepreneur or web developer. Django is a web framework that was designed to strike a balance between rapid web development and high performance. This course will take you on a journey to become an efficient web developer thoroughly understanding the key concepts of Django framework. This learning path is divided into three modules. The course begins with basic concepts of the Django framework. The first module, Django Essentials, is like a practical guide, filled with many real-world examples to build highly effective Django web application. After getting familiar with core concepts of Django, it's time to practice your learning from the first module with the help of over 90 recipes available in this module. In the second module, Web Development with Django Cookbook, you'll learn varying complexities to help you create multilingual, responsive, and scalable websites with Django. By the end of this module, you will have a good understanding of the new features added to Django 1.8 and be an expert at web development processes.The next step is to discover the latest best practices and idioms in this rapidly evolving Django framework. This is what you'll be learning in our third module, Django Design Patterns and Best Practices. This module will teach you common design patterns to develop better Django code. By the end of the module, you will be able to leverage the Django framework to develop a fully functional web application with minimal effort. Style and approach This course includes all the resources that will help you jump into the web development field with Django and learn how to make scalable and robust web applications. The aim is to create a smooth learning path that will teach you how to get started with the powerful Django framework and perform various web development techniques in depth. Through this comprehensive course, you'll learn web development with Django from scratch to finish!
Django: Web Development with Python
by Samuel Dauzon Aidas Bendoraitis Arun Ravindran<P><P>About This Book <P><P>Explore the best practices to develop applications of a superior quality with Django framework <P><P>Unravel the common problems of web development in Django <P><P>This course teaches you major Django functions and will help you improve your skills by developing models, forms, views, and templates <P><P>Experience the challenges of working on an end-to-end social network project <P><P>Who This Book Is For <P><P>Web developers who want to use modern Python-based web frameworks like Django to build powerful web applications. The course is mostly self-contained and introduces web development with Python to a reader who is familiar with web development concepts and can help him become an expert in this trade. It's intended for all levels of web developers, both students and practitioners from novice to experts. <P><P>What You Will Learn <P><P>Use Django models to store information in a database and generate queries to access a database across models <P><P>Quickly develop web pages to create, read, update, and delete data from the model using class-based views <P><P>Generate very maintainable forms with Django <P><P>Import data from local sources and external web services, as well as exporting your data to third parties <P><P>Deep dive into various aspects of Django, from models and views to testing and deployment <P><P>Familiarize yourself with the various nuances of web development such as browser attacks and databases <P><P>In Detail <P><P>Data science is hot right now, and the need for multitalented developers is greater than ever before. A basic grounding in building apps with a framework as minimalistic, powerful, and easy-to-learn as Django will be a useful skill when launching your career as an entrepreneur or web developer. <P><P>Django is a web framework that was designed to strike a balance between rapid web development and high performance. This course will take you on a journey to become an efficient web developer who thoroughly understands the key concepts of the Django framework. <P><P>The first module, Django Essentials, is a practical guide, filled with many real-world examples to build highly effective Django web applications. In the second module, Web Development with Django Cookbook, you'll learn varying complexities to help you create multilingual, responsive, and scalable websites with Django. The next step is to discover the latest best practices and idioms in the rapidly evolving Django framework. This is what you'll be learning in our third module, Django Design Patterns and Best Practices. By the end of the module, you will be able to leverage the Django framework to develop a fully functional web application with minimal effort.
Do I Feel Better Yet?: Questionable Attempts at Self-Care and Existing in General
by Madeleine TrebenskiIf you've ever dared to express dissatisfaction with the state of your life, you've inevitably received a variety of helpful suggestions: "Have you tried meditation? Exercise? A cult? An exercise cult?" In Do I Feel Better Yet?, Madeleine Trebenski explores more than 45 so-called solutions suggested to her in the name of self-care. In a playful and at times sardonic chronicle of the elusive promises of multistep skin-care routines, gratitude journaling, scented candles, and more, Trebenski perfectly captures what it's like to live in a time when homemade kombucha and weighted blankets are said to single-handedly solve all our problems. These essays will make you laugh, make you feel less alone, and maybe make you feel better—even if just for a little while.
Do Machines Dream of Electric Workers?: Understanding the Impact of Digital Technologies on Organizations and Innovation (Lecture Notes in Information Systems and Organisation #49)
by Alessandra Lazazzara Marcello Martinez Alessio Maria Braccini Luca SolariIn our rapidly changing world, digitalization is often either the key to survival or the driving force behind organizations' success. This book examines the impact of digitalization on organizations and the challenges it poses. It explores ways of redesigning work, improving organizational performance, developing employee skills, and creating new forms of competition in the market. In this context, not only the challenges for organizations but also those for the field of organizational studies are considered.This compilation is based on a selection of the best papers presented at the annual workshop (WOA2020) of the Association of Italian Organization Studies Academics (ASSIOA), held at the University of Milan, Italy in February 2020. The diverse road range of perspectives offered makes the book relevant for scholars and practitioners alike.
Do No Harm: Protecting Connected Medical Devices, Healthcare, and Data from Hackers and Adversarial Nation States
by Matthew WebsterDiscover the security risks that accompany the widespread adoption of new medical devices and how to mitigate them In Do No Harm: Protecting Connected Medical Devices, Healthcare, and Data from Hackers and Adversarial Nation States, cybersecurity expert Matthew Webster delivers an insightful synthesis of the health benefits of the Internet of Medical Things (IoMT), the evolution of security risks that have accompanied the growth of those devices, and practical steps we can take to protect ourselves, our data, and our hospitals from harm. You’ll learn how the high barriers to entry for innovation in the field of healthcare are impeding necessary change and how innovation accessibility must be balanced against regulatory compliance and privacy to ensure safety. In this important book, the author describes: The increasing expansion of medical devices and the dark side of the high demand for medical devices The medical device regulatory landscape and the dilemmas hospitals find themselves in with respect medical devices Practical steps that individuals and businesses can take to encourage the adoption of safe and helpful medical devices or mitigate the risk of having insecure medical devices How to help individuals determine the difference between protected health information and the information from health devices--and protecting your data How to protect your health information from cell phones and applications that may push the boundaries of personal privacy Why cybercriminals can act with relative impunity against hospitals and other organizations Perfect for healthcare professionals, system administrators, and medical device researchers and developers, Do No Harm is an indispensable resource for anyone interested in the intersection of patient privacy, cybersecurity, and the world of Internet of Medical Things.
Do Robots Make Love?: From AI to Immortality – Understanding Transhumanism in 12 Questions
by Jean-Michel Besnier Laurent AlexandreShould we enhance the human condition with technology?Does anyone really want to live for a thousand years?Could AI end up destroying mankind?Discover the incredible potential of mankind's near future as Doctor and entrepreneur Laurent Alexandre and tech-philosopher Jean Michel Besnier go head to head on the big questions in an entertaining and thought-provoking debate on the fundamental principles of transhumanism.This movement seeks to improve the human condition through science - has fast become one of the most controversial the scientific community have ever faced. As great strides are made in using advanced technology to enhance human intellect and physiology, the ethical and moral questions surrounding its possibilities have never been more pressing. Should we change the way we reproduce? Could we enhance the human body with technology to the point where we are all technically cyborgs? Is it possible to make love to a robot?
Do more with SOA Integration: Best of Packt
by Arun PoduvalService Oriented Architecture (SOA) remains a buzzword in the business and IT community, largely because the ability to react quickly is of utmost importance. SOA can be the key solution to this. The challenge lies in the tricky task of integrating all the applications in a business through a Service Oriented Architecture, and "Do more with SOA Integration: Best of Packt" will help you do just that with content from a total of eight separate Packt books. "Do more with SOA Integration: Best of Packt" will help you learn SOA integration from scratch. It will help you demystify the concept of SOA integration, understand basic integration technologies and best practices, and get started with SOA Governance. "Do more with SOA Integration: Best of Packt" draws from eight separate titles from Packt's existing collection of excellent SOA books: BPEL cookbook , SOA Approach to Integration, Service Oriented Architecture: An Integration Blueprint, Building SOA-Based Composite Applications Using NetBeans IDE, Oracle SOA Suite Developer's Guide, WS-BPEL 2.0 for SOA Composite Applications with Oracle SOA Suite 11g, Oracle Modernization Solutions, SOA Governance. The chapters in "Do more with SOA Integration: Best of Packt" help you to learn from the best SOA integration content in no less than eight separate Packt books. The book begins with a refresher of SOA and the various types of integration available, and then delves deeper into integration best practices with XML, binding components and web services from Packt books like "Oracle SOA Suite Developer's Guide " and "BPEL Cookbook". Along the way you'll also learn from a number of real world scenarios. By the end of "Do more with SOA Integration: Best of Packt" you will be equipped with knowledge from a wide variety of Packt books and will have learnt from a range of practical approaches to really get to grips with SOA integration.
Do the Media Govern? Politicians, Voters, and Reporters in America
by Richard Reeves Shanto IyengarEssays.
DocBook 5: The Official Documentation for DocBook
by Norman Walsh Richard L. HamiltonIf you need a reliable tool for technical documentation, this clear and concise reference will help you take advantage of DocBook, the popular XML schema originally developed to document computer and hardware projects. DocBook 5.0 has been expanded and simplified to address documentation needs in other fields, and it's quickly becoming the tool of choice for many content providers.DocBook 5: The Definitive Guide is the complete, official documentation of DocBook 5.0. You'll find everything you need to know to use DocBook 5.0's features-including its improved content model-whether you're new to DocBook or an experienced user of previous versions.Learn how to write DocBook XML documentsUnderstand DocBook 5.0's elements and attributes, and how they fit togetherDetermine whether your documents conform to the DocBook schemaLearn about options for publishing DocBook to various output formatsCustomize the DocBook schema to meet your needsGet additional information about DocBook editing and processing
Docker Bootcamp
by Pethuru Raj Jeeva S. Chelladhurai Russ Mckendrick Vinod SinghFast, intensive, and effective Docker learning About This Book • Get well-versed with Docker in 7 days • Identify and resolve common problems faced by users while working with Docker • A fast-paced guide that will focus on all the core Docker functionalities Who This Book Is For This book targets developers, IT professionals and DevOps engineers who like to gain intensive, hands-on knowledge and skills with Docker without spending hours and hours in learning. If you have been struggling to find the time to gain proficiency and confidence with Docker containers and everyday Docker tasks, you have come to the right place! What You Will Learn • Use Docker Compose to make multi-container applications easier to launch • Launch Docker hosts in various public clouds • Deploy and configure a Docker Swarm cluster. • Work with third-party plugins to extend core Docker functionality • Monitor containers and hosts and explore commands to troubleshoot Docker In Detail Docker allows you to create a robust and resilient environment to generate portable, composable, scalable, and stable application containers. The book starts by installing the core Docker Engine on MacOS, Windows 10 and Linux desktops. We will then define multi-container applications and understand the advantages of using containers locally. Once this is done, we will deploy containers on a single Docker host which is publicly accessible. Furthermore, we will learn how to deploy and configure a Docker Swarm cluster and explore networking and storage third-party plugins to extend the core Docker functionality. Towards the end, the book will demonstrate how to monitor and troubleshoot day-to-day problems in addition to various real world examples of container deployments. Style and approach This book is all about fast and intensive learning. That means we don't waste time in helping readers get started. The content is about filling in with highly-effective examples to build new things, show solving problems in newer and unseen ways, and solve real-world examples.
Docker Certified Associate (DCA) (DCA) (DCA) (DCA) (DCA) (DCA) (DCA) (DCA) (DCA) (DCA) (DCA) (DCA) (DCA) (DCA) (DCA) (DCA): Exam Guide: Enhance and validate your Docker skills by gaining Docker certification
by Francisco Javier UreaPass the DCA exam and enhance your DevOps skills by achieving faster deployments, reduced downtime, and continuous integration and continuous deliveryKey FeaturesStrengthen your knowledge of container fundamentals and exploit Docker networking, storage, and image managementLeverage Docker Swarm to deploy and scale applications in a clusterBuild your Docker skills with the help of sample questions and mock testsBook DescriptionDevelopers have changed their deployment artifacts from application binaries to container images, and they now need to build container-based applications as containers are part of their new development workflow. This Docker book is designed to help you learn about the management and administrative tasks of the Containers as a Service (CaaS) platform.The book starts by getting you up and running with the key concepts of containers and microservices. You'll then cover different orchestration strategies and environments, along with exploring the Docker Enterprise platform. As you advance, the book will show you how to deploy secure, production-ready, container-based applications in Docker Enterprise environments. Later, you'll delve into each Docker Enterprise component and learn all about CaaS management. Throughout the book, you'll encounter important exam-specific topics, along with sample questions and detailed answers that will help you prepare effectively for the exam.By the end of this Docker containers book, you'll have learned how to efficiently deploy and manage container-based environments in production, and you will have the skills and knowledge you need to pass the DCA exam.What you will learnUnderstand the key concepts of containerization and its advantagesDiscover how to build secure images and run customized Docker containersExplore orchestration with Docker Swarm and KubernetesBecome well versed with networking and application publishing methodsUnderstand the Docker container runtime environment and customizationsDeploy services on Docker Enterprise with Universal Control PlaneGet to grips with effectively managing images using Docker Trusted RegistryWho this book is forIf you are a system administrator, a developer, a DevOps engineer, or any professional interested in enhancing your career portfolio by gaining Docker certification, this book is for you. In order to understand container networking and the use of load balancers and proxies to provide a full-featured Containers-as-a-Service environment, Linux and Windows user knowledge with some networking skills will be necessary.
Docker Cookbook
by Neependra KhareDocker 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 experience in virtualization technologies such as KVM, XEN, and VMware will help the reader to relate with container technologies better, but it is not required.
Docker Cookbook
by Neependra Khare<P><P>80 hands-on recipes to efficiently work with the Docker 1.6 environment on Linux <P><P>About This Book <P><P>Provides practical techniques and knowledge of various emerging and developing APIs to help you create scalable services <P><P>Create, manage, and automate production-quality services while dealing with inherent issues <P><P>Each recipe is carefully organized with instructions to complete the task efficiently <P><P>Who This Book Is For <P><P>Docker Cookbook is for developers, system administrators, and DevOps engineers who want to use Docker in his/her development, QA, or production environments. <P><P>It is expected that the reader has basic Linux/Unix skills such as installing packages, editing files, managing services, and so on. <P><P>Any experience in virtualization technologies such as KVM, XEN, and VMware will help the reader to relate with container technologies better, but it is not required. <P><P>What You Will Learn <P><P>Install and set up Docker on different environments <P><P>Work with Docker images and containers to Dockerize applications <P><P>Create services with Docker to enable the swift development and deployment of applications <P><P>Make optimum use of Docker in a testing environment do complete CI/CD <P><P>Plan efficient working with Docker APIs, orchestration, and hosting platform such as Project Atomic <P><P>Learn the various use cases available for Docker <P><P>Troubleshoot, maintain, and optimize your Docker services effectively <P><P>In Detail <P><P>Docker is a Linux container engine that allows you to create consistent, stable, and production-quality environments with containers. <P><P>You will start by installing Docker and understanding and working with containers and images. You then proceed to learn about network and data management for containers. The book explores the RESTful APIs provided by Docker to perform different actions such as image/container operations. Finally, the book explores logs and troubleshooting Docker to solve issues and bottlenecks. This book will also help you understand Docker use cases, orchestration, security, ecosystems, and hosting platforms to make your applications easy to deploy, build, and collaborate on.
Docker Cookbook: Over 100 practical and insightful recipes to build distributed applications with Docker , 2nd Edition
by Jeeva S. Chelladhurai Ken Cochrane Neependra K KhareLeverage Docker to deploying software at scaleKey FeaturesLeverage practical examples to manage containers efficientlyIntegrate with orchestration tools such as Kubernetes for controlled deploymentsLearn to implement best practices on improving efficiency and security of containersBook DescriptionDocker is an open source platform for building, shipping, managing, and securing containers. Docker has become the tool of choice for people willing to work with containers. Since the market is moving toward containerization, Docker will definitely have a big role to play in the future tech market.This book starts with setting up Docker in different environment, and helps you learn how to work with Docker images. Then, you will take a deep dive into network and data management for containers. The book explores the RESTful APIs provided by Docker to perform different actions, such as image/container operations. The book then explores logs and troubleshooting Docker to solve issues and bottlenecks. You will gain an understanding of Docker use cases, orchestration, security, ecosystems, and hosting platforms to make your applications easy to deploy, build, and collaborate on. The book covers the new features of Docker 18.xx (or later), such as working with AWS and Azure, Docker Engine, Docker Swarm, Docker Compose, and so on.By the end of this book, you will have gained hands-on experience of finding quick solutions to different problems encountered while working with Docker.What you will learnInstall Docker on various platformsWork with Docker images and containersContainer networking and data sharingDocker APIs and language bindingsVarious PaaS solutions for DockerImplement container orchestration using Docker Swarm and KubernetesContainer securityDocker on various cloudsWho this book is forBook is targeted towards 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 experience in virtualization technologies such as KVM, XEN, and VMware will be an added advantage
Docker Cookbook: Solutions and Examples for Building Distributed Applications
by Sébastien GoasguenWhether you’re deploying applications on premise or in the cloud, this cookbook provides developers, operators, and IT professionals with more than 130 proven recipes for working with Docker.With these practical solutions, experienced developers with no previous knowledge of Docker will be able to package and deploy distributed applications within a couple of chapters. IT professionals will be able to solve everyday problems, as well as create, run, share, and deploy Docker images. Operators will quickly be able to adopt the tools that will change the way they work.The recipes in this book will help you:Manage containers, mount data volumes, and link containersCreate and share container imagesNetwork containers across single or multiple hostsTackle advanced topics such as Docker configuration and developmentDeploy multi-container applications on a distributed cluster with KubernetesUse a new generation of operating systems optimized for DockerLearn tools for application deployment, continuous integration, service discovery, and orchestrationAccess a Docker host on Amazon AWS, Google GCE, and Microsoft AzureMonitor containers and explore different application use cases
Docker Deep Dive: Harness the full potential of your applications with Docker
by Nigel PoultonStart from scratch and develop the essential skills needed to create, deploy, and manage cloud-native applications using Docker <P><P>Key Features <P><P>Get a solid understanding of Docker and containers <P><P>Overcome common problems while containerizing an application <P><P>Master Docker commands needed for creating, deploying, and running applications <P><P>Book Description <P><P>Most applications, even the funky cloud-native microservices ones, need high-performance, production-grade infrastructure to run on. Having impeccable knowledge of Docker will help you to thrive in the modern cloud-first world. With this book, you'll gain the skills you need to work with Docker and its containers. <P><P>The book begins with an introduction to containers and explains its functionality and application in the real world. You'll then get an overview of VMware, Kubernetes, and Docker and learn to install Docker on Windows, Mac, and Linux. Once you've understood the Ops and Dev perspective of Docker, you'll be able to see the big picture and understand what Docker exactly does. The book then turns its attention to the more technical aspects, guiding your through practical exercises covering Docker engine, Docker images, and Docker containers. You'll learn techniques for containerizing an app, deploying apps with Docker Compose, and managing cloud-native applications with Swarm. You'll also build Docker networks and Docker overlay networks and handle applications that write persistent data. Finally, you'll deploy apps with Docker stacks and secure your Docker environment. By the end of this book, you'll be well-versed in Docker and containers and have developed the skills to create, deploy, and run applications on the cloud. <P><P>What you will learn <P><P>Become familiar with the applications of Docker and containers <P><P>Discover how to pull images into Docker host's local registryFind out how to containerize an app <P><P>Build and test a Docker overlay network in the swarm mode <P><P>Use Docker compose to deploy and manage multi-container applications <P><P>Securely share sensitive data with containers and Swarm services <P><P>Who this book is fo <P><P>rWhether you are a beginner or an experienced developer looking to utilize Docker to develop and operate cloud-native microservices apps, this book is for you. Anyone who wants to learn Docker orchestration, networking, imaging, and security will also find it useful. No prior knowledge of Docker is necessary.
Docker High Performance
by Allan EspinosaMaster performance enhancement practices for Docker, and unlock faster and more efficient container deployment that will improve your development workflow About This Book * Implement a scalable Docker infrastructure that has been optimized for greater efficiency * Tackle the challenges of large-scale container deployment with this fast-paced guide * Extend your capabilities as a developer to take full advantage of Docker and containerization Who This Book Is For If you are a software developer with a good understanding of managing Docker services and the Linux file system and are looking for ways to optimize working with Docker containers, then this is the book for you. What You Will Learn * Tune your Dockerfiles and optimize the performance and size of your Docker containers * Configure and tune your Docker hosts at scale with Chef * Deploy containers without downtime using load balancers * Listen to your Docker container and host logs with an ELK stack * Monitor the performance of your Docker containers with collectd * Benchmark the performance of your web application containers with Apache JMeter * Troubleshoot and diagnose containers using standard Linux diagnostic tools * Prepare for production with the most effective DevOps practices In Detail Docker is a portable container format that allows you to run code anywhere from your desktop to the cloud. The workflow around Docker makes development, testing, and deployment much easier and much faster. However, it's essential that you know the best practices most techniques for optimization so Docker can help you deploy your application most effectively. This comprehensive guide will improve your Docker workflows and will ensure your application's production environment runs smoothly. It starts with a short refresher on working with Docker, then you will learn how to take this basic knowledge to the next level by optimizing your Docker infrastructure and applications at scale. At the end of the book, we will put the concepts and everything you have learned about Docker's features into practice by rolling out supplementary monitoring and troubleshooting instrumentation to your infrastructure. All of these things will ensure your application succeeds using Docker. Style and approach This is a comprehensive guide on real-world Docker workflows, and each topic is explained in an easy step-by-step format, accompanied by screenshots where required.
Docker High Performance: Complete your Docker journey by optimizing your application's workflows and performance, 2nd Edition
by Allan Espinosa Russ McKendrickLeverage Docker to unlock efficient and rapid container deployments to improve your development workflowKey FeaturesReconfigure Docker hosts to create a logging system with the ElasticSearch-Logstash-Kibana (ELK) stackTackle the challenges of large-scale container deployment with this fast-paced guideBenchmark the performance of your Docker containers using Apache JMeterBook DescriptionDocker is an enterprise-grade container platform that allows you to build and deploy your apps. Its portable format lets you run your code right from your desktop workstations to popular cloud computing providers. This comprehensive guide will improve your Docker workflows and ensure your application's production environment runs smoothly.This book starts with a refresher on setting up and running Docker and details the basic setup for creating a Docker Swarm cluster. You will then learn how to automate this cluster by using Chef Server and Cookbook. After that, you will run the Docker monitoring system with Prometheus and Grafana, and deploy the ELK stack. You will also learn some tips for optimizing Docker images.After deploying containers with the help of Jenkins, you will then move on to a tutorial on using Apache JMeter to analyze your application's performance. You will learn how to use Docker Swarm and NGINX to load-balance your application and how common debugging tools in Linux can be used to troubleshoot Docker containers.By the end of this book, you will be able to integrate all the optimizations that you have learned and put everything into practice in your applications.What you will learnAutomate provisioning and setting up nodes in a Docker Swarm clusterConfigure a monitoring system with Prometheus and GrafanaUse Apache JMeter to create workloads for benchmarking the performance of Docker containersUnderstand how to load-balance an application with Docker Swarm and NginxDeploy strace, tcdump, blktrace, and other Linux debugging tools to troubleshoot containersIntegrate Docker optimizations for DevOps, Site Reliability Engineering, CI, and CDWho this book is forIf you are a software developer with a good understanding of managing Docker services and the Linux file system and are looking for ways to optimize working with Docker containers, then this is the book for you. Developers fascinated with containers and workflow automation with benefit from this book.
Docker Management Design Patterns
by Deepak VohraTake container cluster management to the next level; learn how to administer and configure Kubernetes on CoreOS; and apply suitable management design patterns such as Configmaps, Autoscaling, elastic resource usage, and high availability. Some of the other features discussed are logging, scheduling, rolling updates, volumes, service types, and multiple cloud provider zones. The atomic unit of modular container service in Kubernetes is a Pod, which is a group of containers with a common filesystem and networking. The Kubernetes Pod abstraction enables design patterns for containerized applications similar to object-oriented design patterns. Containers provide some of the same benefits as software objects such as modularity or packaging, abstraction, and reuse. CoreOS Linux is used in the majority of the chapters and other platforms discussed are CentOS with OpenShift, Debian 8 (jessie) on AWS, and Debian 7 for Google Container Engine. CoreOS is the main focus becayse Docker is pre-installed on CoreOS out-of-the-box. CoreOS: Supports most cloud providers (including Amazon AWS EC2 and Google Cloud Platform) and virtualization platforms (such as VMWare and VirtualBox) Provides Cloud-Config for declaratively configuring for OS items such as network configuration (flannel), storage (etcd), and user accounts Provides a production-level infrastructure for containerized applications including automation, security, and scalability Leads the drive for container industry standards and founded appc Provides the most advanced container registry, Quay Docker was made available as open source in March 2013 and has become the most commonly used containerization platform. Kubernetes was open-sourced in June 2014 and has become the most widely used container cluster manager. The first stable version of CoreOS Linux was made available in July 2014 and since has become one of the most commonly used operating system for containers. What You'll Learn Use Kubernetes with Docker Create a Kubernetes cluster on CoreOS on AWS Apply cluster management design patterns Use multiple cloud provider zones Work with Kubernetes and tools like Ansible Discover the Kubernetes-based PaaS platform OpenShift Create a high availability website Build a high availability Kubernetes master cluster Use volumes, configmaps, services, autoscaling, and rolling updates Manage compute resources Configure logging and scheduling Who This Book Is For Linux admins, CoreOS admins, application developers, and container as a service (CAAS) developers. Some pre-requisite knowledge of Linux and Docker is required. Introductory knowledge of Kubernetes is required such as creating a cluster, creating a Pod, creating a service, and creating and scaling a replication controller. For introductory Docker and Kubernetes information, refer to Pro Docker (Apress) and Kubernetes Microservices with Docker (Apress). Some pre-requisite knowledge about using Amazon Web Services (AWS) EC2, CloudFormation, and VPC is also required.
Docker Networking Cookbook
by Jon Langemak60 practical recipes that help you gain expertise with Docker networking and understand the underlying constructs that make it all work About This Book * Enhance your Docker networking skills and protect your organization using advanced networking functions * Learn how to use third party tools to extend Docker networking * This practical and recipe-based book demonstrates the different ways in which you can network containers leveraging the Docker engine. Who This Book Is For The book is for system administrators as well as developers who are well versed with the concepts of Docker and have basic knowledge of Docker networking. You should also have sound knowledge of networking in general. What You Will Learn * Configure Linux networking primitives used by Docker networking * Build and deploy user-defined Docker networks * Examine the different options for resolving and linking containers * Implement custom networks for Docker to consume * Discover third-party networking plugins such as Weave and Flannel * Work through solutions to secure Docker containers and networks * Observe methodologies for troubleshooting container networks * Explore advanced and experimental Docker networking features In Detail Networking functionality in Docker has changed considerably since its first release, evolving to offer a rich set of built-in networking features, as well as an extensible plugin model allowing for a wide variety of networking functionality. This book explores Docker networking capabilities from end to end. Begin by examining the building blocks used by Docker to implement fundamental containing networking before learning how to consume built-in networking constructs as well as custom networks you create on your own. Next, explore common third-party networking plugins, including detailed information on how these plugins inter-operate with the Docker engine. Consider available options for securing container networks, as well as a process for troubleshooting container connectivity. Finally, examine advanced Docker networking functions and their relevant use cases, tying together everything you need to succeed with your own projects. Style and approach This practical recipe-based book will take readers to next level of Docker networking. It covers relevant use cases and the advanced features of Docker
Docker Orchestration
by Randall SmithA concise, fast-paced guide to orchestrating and deploying scalable services with Docker About This Book • Explore the new features added to the core Docker Engine to make multi-container orchestration easy • Leverage tools such as Docker Machine, Swarm, Compose, and third-party tools such as Kubernetes, Mesosphere, and CoreOS to orchestrate containers • Use Docker Compose with Swarm and apply rolling updates for zero downtime deployments Who This Book Is For This book is aimed at Sysadmins and DevOps engineers who know what Docker does and are now looking to manage multiple containers on multiple hosts using the orchestration feature. What You Will Learn • Build scalable, reliable services with Docker • See how to manage a service in Docker using Docker Swarm, Kubernetes, and Mesosphere • Discover simpler orchestration tools such as CoreOS/Fleet and Rancher Cattle • Understand cluster-wide logging, system monitoring, and troubleshooting • Build, test, and deploy containers using Continuous Integration • Deploy cluster hosts on cloud services and automate your infrastructure In Detail Docker orchestration is what you need when transitioning from deploying containers individually on a single host to deploying complex multi-container apps on many machines. This book covers the new orchestration features of Docker 1.12 and helps you efficiently build, test, and deploy your application using Docker. You will be shown how to build multi-container applications using Docker Compose. You will also be introduced to the building blocks for multi-host Docker clusters such as registry, overlay networks, and shared storage using practical examples. This book gives an overview of core tools such as Docker Machine, Swarm, and Compose which will enhance your orchestration skills. You'll learn how to set up a swarm using the decentralized building block. Next, you'll be shown how to make the most out of the in-built orchestration feature of Docker engine and you'll use third-party tools such as Kubernetes, Mesosphere, and CoreOS to orchestrate your existing process. Finally, you will learn to deploy cluster hosts on cloud services and automate your infrastructure. Style and approach This comprehensive guide will take you through the orchestration feature of Docker. Using practical examples, you will discover various tools that can be used to manage multiple containers with ease.
Docker Quick Start Guide: Learn Docker like a boss, and finally own your applications
by Earl WaudDevelop and build your Docker images and deploy your Docker containers securely.Key FeaturesLearn Docker installation on different types of OSGet started with developing Docker imagesUse Docker with your Jenkins CI/CD systemBook DescriptionDocker is an open source software platform that helps you with creating, deploying, and running your applications using containers. This book is your ideal introduction to Docker and containerization.You will learn how to set up a Docker development environment on a Linux, Mac, or Windows workstation, and learn your way around all the commands to run and manage your Docker images and containers.You will explore the Dockerfile and learn how to build your own enterprise-grade Docker images. Then you will learn about Docker networks, Docker swarm, and Docker volumes, and how to use these features with Docker stacks in order to define, deploy, and maintain highly-scalable, fault-tolerant multi-container applications.Finally, you will learn how to leverage Docker with Jenkins to automate the building of Docker images and the deployment of Docker containers. By the end of this book, you will be well prepared when it comes to using Docker for your next project.What you will learnSet up your Docker workstation on various platformsUtilize a number of Docker commands with parametersCreate Docker images using DockerfilesLearn how to create and use Docker volumesDeploy multi-node Docker swarm infrastructureCreate and use Docker local and remote networksDeploy multi-container applications that are HA and FTUse Jenkins to build and deploy Docker imagesWho this book is forThis guide is for anyone who needs to make a quick decision about using Docker for their next project. It is for developers who want to get started using Docker right away.