Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Save both the files to a new directory and run the containers with: 

Code Block
themeRDark
docker-compose up -d

 

You can check the status of the components:

Code Block
themeRDark
docker-compose ps

 

You can check the output of the servers with:

Code Block
themeRDark
docker-compose logs

 

As the webui ports are forwarded to the external machine, you can check the web UI:

...

You can start multiple datanodes with:

Code Block
themeRDark
docker-compose scale datanode=3

...

You can test the commands from the OzoneShell page after opening a new shell in one of the containers:

Code Block
themeRDark
docker-compose exec datanode bash

...