ebook img

Pro Docker: Learn how to use Containers as a Service for development and deployment PDF

320 Pages·2016·18.55 MB·English
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 Pro Docker: Learn how to use Containers as a Service for development and deployment

Deepak Vohra Pro Docker Deepak Vohra Any source code or other supplementary material referenced by the author in this text is available to readers at www.apress.com/9781484218297 . For additional information about how to locate and download your book’s source code, go to www.apress.com/source-code/ . Readers can also access source code at SpringerLink in the Supplementary Material section for each chapter. ISBN 978-1-48421829-7 e-ISBN 978-1-4842-1830-3 DOI 10.1007/978-1-4842-1830-3 © Deepak Vohra 2016 Pro Docker Managing Director: Welmoed Spahr Lead Editor: Michelle Lowman Technical Reviewer: Massimo Nardone Editorial Board: Steve Anglin, Pramila Balan, Louise Corrigan, Jonathan Gennick, Robert Hutchinson, Celstin Suresh John, Michelle Lowman, James Markham, Susan McDermott, Matthew Moodie, Jeffrey Pepper, Douglas Pundick, Ben Renow-Clarke, Gwenan Spearing Coordinating Editor: Mark Powers Compositor: SPi Global Indexer: SPi Global Artist: SPi Global For information on translations, please e-mail [email protected], or visit www.apress.com . Apress and friends of ED books may be purchased in bulk for academic, corporate, or promotional use. eBook versions and licenses are also available for most titles. For more information, reference our Special Bulk Sales–eBook Licensing web page at www.apress.com/bulk-sales . This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed. Exempted from this legal reservation are brief excerpts in connection with reviews or scholarly analysis or material supplied specifically for the purpose of being entered and executed on a computer system, for exclusive use by the purchaser of the work. Duplication of this publication or parts thereof is permitted only under the provisions of the Copyright Law of the Publisher’s location, in its current version, and permission for use must always be obtained from Springer. Permissions for use may be obtained through RightsLink at the Copyright Clearance Center. Violations are liable to prosecution under the respective Copyright Law. Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an editorial fashion and to image we use the names, logos, and images only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to proprietary rights. While the advice and information in this book are believed to be true and accurate at the date of publication, neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the material contained herein. Distributed to the book trade worldwide by Springer Science+Business Media New York, 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800- SPRINGER, fax (201) 348-4505, e-mail [email protected], or visit www.springeronline.com. Apress Media, LLC is a California LLC and the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation. Contents 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 Setting the Environment Starting Oracle Database Listing Container Logs Starting SQL* Plus Creating a User Creating a Database Table Removing Oracle Database Summary 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

Description:
Apress, 2016. — 265 p. — ISBN: 978-1-4842-1829-7.Docker is an open standards platform for developing, packaging and running portable distributed applications. Using Docker, developers and sysadmins may build, ship and run applications on any platform such as a PC, the cloud, data center or a vir
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.