Oracle on Docker: Running Oracle Databases in Linux Containers
- Length: 444 pages
- Edition: 1
- Language: English
- Publisher: Apress
- Publication Date: 2023-02-23
- ISBN-10: 1484290321
- ISBN-13: 9781484290323
- Sales Rank: #1803824 (See Top 100 Books)
Discover the benefits of running Oracle databases in Linux containers. This book approaches containers from the perspective of database administrators, developers, and systems administrators. It explains the differences between containers and virtual machines and describes why containers deliver greater speed, flexibility, and portability, with lower resource requirements. You’ll learn how running Oracle databases in containers complements existing database infrastructure and accelerates development, and you’ll understand the advantages they offer for test and validation environments.
This book teaches you how to begin working with Oracle databases in Docker, covering the steps for preparing and installing software on Windows, Mac, and Linux systems. It describes the steps for deploying Oracle databases, separating data and configurations from database software, and networking and communicating with your containers. It introduces the Docker commands you’ll use for managing containers, including tips and shortcuts to make everyday tasks easier. Databases have unique demands for performance and reliability, and this book addresses those qualities with discussions on protecting, persisting, and distributing data. Other books may overlook these topics and approach containers as disposable commodities in serverless environments or convenient coding platforms. You’ll gain battle-tested insights for customizing and extending your containers to meet different needs.
The opening chapters concentrate on the practical steps of running Oracle databases in Docker. Once you’re comfortable with container terminology and methods, you’ll look deeper at the real power behind containers―preparing and building images, and the templates that form the foundation beneath every container. You’ll begin by modifying publicly available image manifests, or Dockerfiles, following multiple examples that add functionality and capabilities to your databases. You’ll discover methods for using run-time options to create flexible and extensible images that adapt to real-world requirements.
Within the pages, you’ll see how Oracle and Docker empower you to confidently build and deploy systems. It’s written with databases and database users in mind and delivers practical advice based on the author’s real-world, battle-tested experiences deploying and running Oracle databases in containers since 2014. With Oracle databases in containers, database administrators have the ideal platform for evaluating performance, practicing database upgrades and migrations, validating backup and recovery processes, and hardening environments. Developers will find that the marriage of Oracle and Docker simplifies code and application tests. Docker’s unique ability to isolate data artifacts improves reliability and confidence in test and QA processes. If you’re a database administrator, this book will help you join the container revolution sweeping the industry and making IT professionals more productive than ever!
What You Will Learn
- Recognize when and why to use containers for an Oracle database
- Understand container terminology and architecture
- Create and customize Oracle databases in containers
- Build and extend images and containers for multiple uses
- Store and persist data beyond the container ecosystem
- Use popular database tools with databases in containers
- Explore container networking and connect multiple container databases
- Manage, monitor, and secure containers
- Write Dockerfiles to support custom requirements
- Package and deploy data artifacts that accelerate development, test, and QA activities
Who This Book Is For
Database administrators, developers, and systems administrators who want to be more productive by running Oracle databases in Linux containers
Part I: Introduction to Containers Chapter 1: Introducing Docker and Oracle Why Docker? Simplicity Self-Contained Speed Portability Reliability Cost Use Cases Exchange Data Modular Software Orchestration Other Uses Objections to Docker Summary Chapter 2: Understanding the Container Landscape Containers vs. Virtual Machines Dedicated vs. Shared Performance Capacity and Capability Concepts and Terminology Images Tags Portable Immutable and Stateless Containers Stateful Ephemeral Resources Volumes Networking Additional Terminology Runtimes Dockerfiles Builds Summary Chapter 3: Container Foundations Docker Command-Line Overview Run Your First Container List Images Run a Container Explore the Container Image Registries Minimalism Modify the Container Persistence Check the Container State Start the Container Interactive vs. Detached Connect to the Container Verify Persistence Remove the Container Images Are Immutable Start a New Container Save a New Image Run the New Image Union Filesystems Commit vs. Build Summary Chapter 4: Oracle Database Quick Start Access the Docker Environment Terminology Docker Commands Images and Containers Build and Run The Docker Command Line Obtaining an Image Pre-built Images Download an Image Download a Tag Running Pre-built Images Pre-built Image Limitations Building Images from a Repository Oracle Docker GitHub Repo Oracle Database Software Build an Image Running a Container Container Properties Port Publishing Volume Mounting Permissions Issues in Linux and Windows WSL Environments Environment Variables Container Name A Full Run Command View Container Logs Access and Use the Container Access a Container Shell Run SQL*Plus Run Scripts Connect from Host Applications Manage the Container Summary Chapter 5: Differences in Database Containers Start an Oracle Database Container Connect to the Container Navigate the Oracle Database Container Container Differences Hostname cron Binaries Oracle Directories Configuration Files Volumes Summary Chapter 6: Customize Container Environments The Startup Process View Environment Values docker run Command-Line Option Values from a File Values from the Host Environment Overwriting and Creating Variables Environment Options in Oracle Images Summary Index
Donate to keep this site alive
How to download source code?
1. Go to: https://github.com/Apress
2. In the Find a repository… box, search the book title: Oracle on Docker: Running Oracle Databases in Linux Containers
, sometime you may not get the results, please search the main title.
3. Click the book title in the search results.
3. Click Code to download.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.