THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Save both the files to a new directory and run the containers with:
Code Block | ||
---|---|---|
| ||
docker-compose up -d |
You can check the status of the components:
Code Block | ||
---|---|---|
| ||
docker-compose ps |
You can check the output of the servers with:
Code Block | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
docker-compose exec datanode bash |
...