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
-
Create an OpsCenter container.
docker run \ -e DS_LICENSE=accept \ -p 8888:8888 \ --name my-opscenter \ -d datastax/dse-opscenter
-
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
-
Get the DSE container IP address.
docker exec -it my-dse nodetool status
-
Open a browser and navigate to http://dse_container_ip:8888, where
dse_container_ip
is the IP address of the OpsCenter container.-
Click Manage existing cluster.
-
Enter the DSE container IP address in the host name field.
-
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.