Docker run options
The following options are the most commonly used when creating a DataStax container.
Option | Description |
---|---|
|
Starts the container in the background. Recommended. |
|
Sets environment variables to accept the licensing agreement and change the initial configuration. Required.Important: Setting the DS_LICENSE environment variable signals your acceptance of the DataStax terms of service and is required for the software to start. |
|
Publish container ports on the host to allow remote access to DSE, OpsCenter, and Studio. See exposing public ports for more information. |
|
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 a DSE container to either OpsCenter or Studio.
For example, |
|
Assign a name to the container. |