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, --link my-opscenter:opscenter or --link my-dse.


Assign a name to the container.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000,