1. Install the docker

See also: Installing Docker for MAC and Docker Compose using Ariyuan

Service provider docker-compose installs NebulaGraph

Download the configuration from Github

git clone https://github.com/vesoft-inc/nebula-docker-compose.git
Copy the code

Enter the directory

cd nebula-docker-compose
Copy the code

Start the service

docker-compose up -d
Copy the code

Check the startup status and you can see the status and ports of all the services that are started. The graphd port is 3699

docker-compose ps
Copy the code

3. Enter the shell

Run the following command to go to the CLI

Docker run -- rm-ti --network=host vesoft/nebula-console:nightly --addr=127.0.0.1 --port=3699Copy the code

See the following picture, it represents success.

4. Perform basic operations

Official tutorial Getting – Started