Book description
In this fast-paced book on the Docker open standards platform for developing, packaging and running portable distributed applications, author Deepak Vohra discusses how to build, ship and run applications on any platform such as a PC, the cloud, data center or a virtual machine. He describes how to install Docker images and create Docker containers, and the advantages of Docker containers.
The remainder of the book is devoted to discussing using Docker with important software solutions. He begins by discussing using Docker with a traditional RDBMS using Oracle and MySQL. Next he moves on to NoSQL with chapter on MongoDB Cassandra, and Couchbase. Then he addresses the use of Docker in the Hadoop ecosystem with complete chapters on utilizing not only Hadoop, but Hive, HBase, Sqoop, Kafka, Solr and Spark.
Table of contents
- Cover
- Title
- Copyright
- Contents at a Glance
- Contents
- About the Author
- About the Technical Reviewer
-
Chapter 1: Hello Docker
- Setting the Environment
- Installing Docker on Red Hat 7
- Uninstalling Docker
- Installing a Specific Docker Version
- Installing Docker on Ubuntu
- Starting the Docker Service
- Finding the Docker Service Status
- Running a Docker Hello World Application
- Downloading a Docker Image
- Running an Application in a Docker Container
- Listing Running Docker Containers
- Accessing the Application Output on Command Line
- Accessing the Application Output in a Browser
- Stopping a Docker Container
- Removing a Docker Container
- Removing a Docker Image
- Stopping the Docker Service
- Summary
-
Chapter 2: Installing Linux
- Setting the Environment
- Downloading the Docker Image
- Listing Docker Images
- Running a Container in Detached Mode
- Running a Container in Foreground
- Listing Docker Containers
- Finding Oracle Linux Container Information
- Listing the Container Processes
- Starting an Interactive Shell
- Creating a Container
- Stopping a Container
- Removing a Container
- Summary
- Chapter 3: Using Oracle Database
-
Chapter 4: Using MySQL Database
- Setting the Environment
- Starting MySQL Server
- Starting MySQL CLI Shell
- Setting the Database to Use
- Creating a Database Table
- Adding Table Data
- Querying a Table
- Listing Databases and Tables
- Exiting TTY Terminal
- Stopping a Docker Container
- Starting Another MySQL Server Instance
- Listing Docker Container Logs
- Summary
-
Chapter 5: Using MongoDB
- Setting the Environment
- Starting MongoDB
- Starting an Interactive Terminal
- Starting a Mongo Shell
- Creating a Database
- Creating a Collection
- Creating a Document
- Finding Documents
- Adding Another Document
- Querying a Single Document
- Dropping a Collection
- Adding a Batch of Documents
- Updating a Document
- Outputting Documents as JSON
- Making a Backup of the Data
- Removing Documents
- Stopping and Restarting the MongoDB Database
- Exiting the Mongo Shell
- Summary
-
Chapter 6: Using Apache Cassandra
- Setting the Environment
- Starting Apache Cassandra
- Starting the TTY
- Connecting to CQL Shell
- Creating a Keyspace
- Altering A Keyspace
- Using A Keyspace
- Creating a Table
- Adding Table Data
- Querying a Table
- Deleting from a Table
- Truncating a Table
- Dropping A Table
- Dropping a Keyspace
- Exiting CQL Shell
- Stopping Apache Cassandra
- Starting Multiple Instances of Apache Cassandra
- Summary
- Chapter 7: Using Couchbase Server
- Chapter 8: Using Apache Hadoop
- Chapter 9: Using Apache Hive
- Chapter 10: Using Apache HBase
-
Chapter 11: Using Apache Sqoop
- Setting the Environment
- Starting Docker Containers
- Starting Interactive Terminals
- Creating a MySQL Tables
- Adding MySQL JDBC Jar to Sqoop Classpath
- Setting the JAVA_HOME Environment Variable
- Configuring Apache Hadoop
- Importing MySQL Table Data into HDFS with Sqoop
- Listing Data Imported into HDFS
- Exporting from HDFS to MySQL with Sqoop
- Querying Exported Data
- Stopping and Removing Docker Containers
- Summary
- Chapter 12: Using Apache Kafka
-
Chapter 13: Using Apache Solr
- Setting the Environment
- Starting Docker Container for Apache Solr Server
- Starting the Interactive Shell
- Logging in to the Solr Admin Console
- Creating a Core Index
- Loading Sample Data
- Querying Apache Solr in Solr Admin Console
- Querying Apache Solr using REST API Client
- Deleting Data
- Listing Logs
- Stopping Apache Solr Server
- Summary
- Chapter 14: Using Apache Spark
- Appendix A: Using the Amazon EC2
- Index
Product information
- Title: Pro Docker
- Author(s):
- Release date: December 2015
- Publisher(s): Apress
- ISBN: 9781484218303
You might also like
article
Run Llama-2 Models Locally with llama.cpp
Llama is Meta’s answer to the growing demand for LLMs. Unlike its well-known technological relative, ChatGPT, …
article
Use Github Copilot for Prompt Engineering
Using GitHub Copilot can feel like magic. The tool automatically fills out entire blocks of code--but …
book
Common OpenStack Deployments: Real-World Examples for Systems Administrators and Engineers
OpenStack is today’s leading technology for building and integrating public and private clouds. is a complete, …
article
Use GitHub Copilot: Additional Tips
Using GitHub Copilot can feel like magic. The tool automatically fills out entire blocks of code--but …