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

DataStax Docker Guide

    • Quickstart
    • Recommended settings
    • 6.8 Docker
      • Getting started with DataStax and Docker
      • Prerequisites
      • Creating and starting Docker containers
        • Creating a DataStax Enterprise container
        • Creating an OpsCenter container
        • Creating a Studio container
        • Docker run options
      • Managing the configuration
        • Using the DSE configuration volume
        • Using environment variables
        • Persisting data
        • Exposing public ports
        • Volumes and data directories
      • Attaching to a container and opening a command line
      • Using Docker compose for automated provisioning
      • Building custom Docker images
      • Getting help with Docker
      • Docker known issues
      • Licensing
    • 6.7 Docker
      • Getting started with DataStax and Docker
      • Prerequisites
      • Creating and starting Docker containers
        • Creating a DataStax Enterprise container
        • Creating an OpsCenter container
        • Creating a Studio container
        • Docker run options
      • Managing the configuration
        • Using the DSE configuration volume
        • Using environment variables
        • Persisting data
        • Exposing public ports
        • Volumes and data directories
      • Attaching to a container and opening a command line
      • Using Docker compose for automated provisioning
      • Building custom Docker images
      • Getting help with Docker
      • Docker known issues
      • Licensing
    • 6.0 Docker
      • Getting started with DataStax and Docker
      • Prerequisites
      • Creating and starting Docker containers
        • Creating a DataStax Enterprise container
        • Creating an OpsCenter container
        • Creating a Studio container
        • Docker run options
      • Managing the configuration
        • Using the DSE configuration volume
        • Using environment variables
        • Persisting data
        • Exposing public ports
        • Volumes and data directories
      • Attaching to a container and opening a command line
      • Using Docker compose for automated provisioning
      • Building custom Docker images
      • Getting help with Docker
      • Docker known issues
      • Licensing
    • 5.1 Docker
      • Getting started with DataStax and Docker
      • Prerequisites
      • Creating and starting Docker containers
        • Creating a DataStax Enterprise container
        • Creating an OpsCenter container
        • Creating a Studio container
        • Docker run options
      • Managing the configuration
        • Using the DSE configuration volume
        • Using environment variables
        • Persisting data
        • Exposing public ports
        • Volumes and data directories
      • Attaching to a container and opening a command line
      • Using Docker compose for automated provisioning
      • Building custom Docker images
      • Getting help with Docker
      • Docker known issues
      • Licensing
    • DataStax Docker Images
  • DataStax Docker Guide
  • 6.7 Docker
  • Creating and starting Docker containers
  • Creating an OpsCenter container

Creating an OpsCenter container

Create a DSE OpsCenter container and a connected DSE server container on the same Docker host. For a list of the most commonly used options, see Docker run options.

DSE 6.7 requires OpsCenter 6.7.

See the docker run command reference for a full list of options to run a command in a new container.

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

Procedure

  1. Create an OpsCenter container.

    docker run \
    -e DS_LICENSE=accept \
    -p 8888:8888 \
    --name my-opscenter \
    -d datastax/dse-opscenter
  2. Create a DSE server container that is linked to the OpsCenter container.

    docker run \
    -e DS_LICENSE=accept \
    --link my-opscenter:opscenter \
    --name my-dse \
    -d datastax/dse-server
  3. Get the DSE container IP address.

    docker exec -it my-dse nodetool status
  4. Open a browser and navigate to http://dse_container_ip:8888, where dse_container_ip is the IP address of the OpsCenter container.

    1. Click Manage existing cluster.

    2. Enter the DSE container IP address in the host name field.

    3. Click Install agents manually. The agent is already installed on the DSE image, so no installation is required.

Results

OpsCenter is ready to use with DSE.

What’s next

See the DSE OpsCenter User Guide for detailed usage and configuration instructions.

Creating a DataStax Enterprise container Creating a Studio container

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