Quick Start to KVLite in a Container

You can run Oracle NoSQL Database in a container using the Oracle NoSQL Database container image.

Prerequisite

Install a containerization tool. In this book, we have made use of Docker as an example.

Note:

A full description of Docker is beyond the scope of this documentation. This chapter assumes prior knowledge of Docker.
The container image that we will be using is a simplified version of the Oracle NoSQL Database called KVLite. KVLite provides a single storage node, single shard store, that is not replicated. It runs in a single process without requiring any administrative interface.

Note:

  • KVLite is not intended for production deployment or performance measurements. We recommend testing with data that is not considered sensitive in nature. In other words, do not test with sensitive information such as usernames, passwords, credit card information, medication information, etc.
  • There are two Oracle NoSQL container images available in the GitHub container registry, one using a secure configuration and the other using a non-secure configuration. The primary difference is in the way KVLite is accessed. We recommend using the secure setup, although additional steps are needed during setup. One advantage of using the secure setup is that it gives you exposure to what is needed to setup a secure KVStore.
We will cover the following topics in this chapter: For details on more advanced scenarios, see the documentation in Github for connecting to non-secure and secure Oracle NoSQL Database in a container.