Docker run options

Use the most common options for creating DataStax containers.

The following options are the most commonly used when creating a DataStax container.

Option Description
-e Sets environment variables to accept the licensing agreement and change the initial configuration. Required.
-d Starts the container in the background. Recommended.
-p Publish container ports on the host to allow remote access to DSE, OpsCenter, and Studio. See exposing public ports for more information.
-v Bind mount a directory on the local host to a DSE Volume to manage configuration or preserve data. See using exposed volumes for more information.
--link Link a DSE container to OpsCenter, or Studio to DSE. For example, --link my-opscenter:opscenter or --link my-dse.
--name Assign a name to the container.