A container is a storage compartment for your data which provides a way for you to organize your data.
You must have a container in order to store objects. At a minimum, you will have at least one container for your account. You can think of containers as like your computer's directory system but with a key distinction; you cannot nest containers as you can nest directories.
To use the REST API, see Create Container in OpenStack Object Storage Service API Reference.
To use the Java library, see
createContainer in Java API Reference for Oracle Cloud Storage Service.