Connecting to databases using Docker
Use Docker to connect to Cassandra databases created using the DataStax Astra console. When using a DataStax Docker container, you can run cqlsh commands and use other DataStax Enterprise (DSE) tools, such as nodetool and dsetool.
Complete the following tasks before connecting to databases using Docker:
See the following documentation to get started with CQL:
Prerequisites
- Download and install Docker from the Docker website.
- Download the DataStax Docker images from Docker Hub.
- Create a Cassandra database or have a team member provide access to their Cassandra database to obtain database connection details.
- Download the secure connect bundle to obtain connection credentials for your database.
Procedure
What's next
- Full command documentation: CQL shell (cqlsh) reference
- Quick reference command guide: CQL quick reference