• Glossary
  • Support
  • Downloads
  • DataStax Home
Get Live Help
Expand All
Collapse All

DataStax Docker Guide

  • Overview
    • About Docker and DataStax
    • Docker support
    • Docker known issues
    • Licensing
  • Getting started
    • Quickstart
  • Installing
    • Install
    • Create and start Docker containers
  • Developing
    • Building custom Docker images
  • Managing
    • Configuring
      • Recommended settings
      • Exposing public ports
      • Using environment variables
      • Using the DSE configuration volume
      • Mount data volumes
    • Operating
      • Using Docker compose for automated provisioning
      • Logging into a container
  • Reference
    • Docker run options
  • DataStax Docker Guide
  • Managing
  • Configuring
  • Exposing public ports

Exposing public ports

To allow remote hosts to access a DataStax Enterprise (DSE) node, DSE OpsCenter, or DataStax Studio continer, map the DSE public port to a host port using the docker run command with the -p option.

For a complete list of ports, see:

  • DSE 6.8 ports

  • DSE 5.1 ports

When mapping a container port to a local host port, ensure the host port is not already in use by another container or the host.

Example

To allow access to a DataStax Enterprise (DSE) node from a browser on a remote host, open port 8888 as shown in the following example.

docker run -e DS_LICENSE=accept \
--name my-opscenter \
-p 8888:8888 \
-d datastax/dse-opscenter

Setting the DS_LICENSE environment variable signals your acceptance of the DataStax terms of service and is required for the software to start.

Recommended settings Using environment variables

General Inquiries: +1 (650) 389-6000 info@datastax.com

© DataStax | Privacy policy | Terms of use

DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.

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.

landing_page landingpage