ptlrs commented on code in PR #122:
URL: https://github.com/apache/ozone-site/pull/122#discussion_r1909888547


##########
docs/02-quick-start/01-installation/01-docker.md:
##########
@@ -2,6 +2,84 @@
 sidebar_label: Docker
 ---
 
+<!-- cspell:words xzf -->
+
 # Try Ozone With Docker
 
-**TODO:** File a subtask under 
[HDDS-9856](https://issues.apache.org/jira/browse/HDDS-9856) and complete this 
page or section.
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+This guide explains how to run Apache Ozone using Docker Compose, either with 
locally built sources or pre-built images.
+
+## Prerequisites
+
+- [Docker Engine](https://www.docker.com/products/docker-desktop/) 20.10.0 or 
higher
+- [Docker Compose](https://docs.docker.com/compose/install/) V2
+- Built Ozone distribution (if running from local build)
+
+## Running Ozone
+
+1. Obtain the Docker Compose configurations
+
+<Tabs groupId="source-based-instructions">
+  <TabItem value="Tarball" label="Tarball" default>
+    With this option, the Docker Compose cluster will automatically fetch the 
required images from Docker Hub.
+    <br/>Obtain the Ozone sources from the [download](/download) page.
+    <br/>Next, unpack the tarball
+    ```bash
+    tar xzf ozone-<version>-src.tar.gz
+    ```
+  </TabItem>
+  <TabItem value="Building from Source" label="Building from Source" default>
+  With this option, the `ozone-docker-runner` image will use the compiled 
Ozone binaries to run the Docker Compose cluster.
+  <br/> Follow the steps listed in the [Build with 
Maven](/docs/08-developer-guide/01-build/02-maven.md) page to obtain the 
sources and compile them.
+  </TabItem>
+</Tabs>

Review Comment:
   Done



##########
docs/02-quick-start/01-installation/01-docker.md:
##########
@@ -2,6 +2,84 @@
 sidebar_label: Docker
 ---
 
+<!-- cspell:words xzf -->
+
 # Try Ozone With Docker
 
-**TODO:** File a subtask under 
[HDDS-9856](https://issues.apache.org/jira/browse/HDDS-9856) and complete this 
page or section.
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+This guide explains how to run Apache Ozone using Docker Compose, either with 
locally built sources or pre-built images.
+
+## Prerequisites
+
+- [Docker Engine](https://www.docker.com/products/docker-desktop/) 20.10.0 or 
higher
+- [Docker Compose](https://docs.docker.com/compose/install/) V2
+- Built Ozone distribution (if running from local build)
+
+## Running Ozone
+
+1. Obtain the Docker Compose configurations
+
+<Tabs groupId="source-based-instructions">
+  <TabItem value="Tarball" label="Tarball" default>
+    With this option, the Docker Compose cluster will automatically fetch the 
required images from Docker Hub.
+    <br/>Obtain the Ozone sources from the [download](/download) page.
+    <br/>Next, unpack the tarball
+    ```bash
+    tar xzf ozone-<version>-src.tar.gz
+    ```
+  </TabItem>
+  <TabItem value="Building from Source" label="Building from Source" default>
+  With this option, the `ozone-docker-runner` image will use the compiled 
Ozone binaries to run the Docker Compose cluster.
+  <br/> Follow the steps listed in the [Build with 
Maven](/docs/08-developer-guide/01-build/02-maven.md) page to obtain the 
sources and compile them.
+  </TabItem>
+</Tabs>
+2. Navigate to the compose directory in your build output:
+<Tabs groupId="source-based-instructions">
+  <TabItem value="Tarball" label="Tarball" default>
+    ```bash
+    cd ozone-<version>-src/compose/ozone
+    ```
+  </TabItem>
+  <TabItem value="Building from Source" label="Building from Source" default>
+    ```bash
+    cd ./hadoop-ozone/dist/target/ozone-*-SNAPSHOT/compose/ozone
+    ```
+  </TabItem>
+</Tabs>

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to