Exposing public ports
Allow connections from remote systems by exposing ports from the Docker container on the host system.
To allow remote hosts to access a DataStax Enterprise (DSE) or DataStax Distribution of Apache Cassandra™ (DDAC) node, DSE OpsCenter, or DataStax
Studio, 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 Securing DataStax Enterprise ports.
Example
To allow access to DDAC 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.