<commit_before>
# Rook Standalone

- [Directly on Linux Host](#directly-on-linux-host)
- [Vagrant](#vagrant)
- [Design](#design)

## Directly on Linux Host

Rook can be deployed as a standalone service directly on any modern Linux host by running the following:

1. Start a one-node Rook cluster
   ```bash
   docker run -it quay.io/rook/rookd:latest
   ```

2. Download the latest `rookctl` binary
   ```bash
   wget https://github.com/rook/rook/releases/download/v0.4.0/rook-v0.4.0-linux-amd64.tar.gz
   tar xvf rook-v0.4.0-linux-amd64.tar.gz
   ```

3. Verify the Rook cluster is ready
   ```bash
   ./rookctl status
   ```

At this point, you can use the `rookctl` tool along with some [simple steps to create and manage block, file and object storage](client.md).


## Vagrant

Rook is also easy to run in virutal machines with `vagrant` using the standalone [Vagrantfile](/demo/standalone/Vagrantfile).  When instructed, `vagrant` will start up CoreOS virtual machines and launch `rookd` via `rkt`.  Note that you can make configuration changes as desired in the provided [cloud config file](/demo/standalone/cloud-config.yml.in).

```
cd demo/standalone
vagrant up
```

### Rook Client Tool
Once the Rook cluster in Vagrant is running and initialized, you can use the `rookctl` client tool to manage the cluster and consume the storage.  First, either use a locally built `rookctl` tool or download the latest release from github:
```
wget https://github.com/rook/rook/releases/download/v0.4.0/rook-v0.4.0-linux-amd64.tar.gz
tar xvf rook-v0.4.0-linux-amd64.tar.gz<commit_msg>docs: add the port to standalone docker<commit_after>
# Rook Standalone

- [Directly on Linux Host](#directly-on-linux-host)
- [Vagrant](#vagrant)
- [Design](#design)

## Directly on Linux Host

Rook can be deployed as a standalone service directly on any modern Linux host by running the following:

1. Start a one-node Rook cluster
   ```bash
   docker run -it -p 8124:8124 quay.io/rook/rookd:latest
   ```

2. Download the latest `rookctl` binary
   ```bash
   wget https://github.com/rook/rook/releases/download/v0.4.0/rook-v0.4.0-linux-amd64.tar.gz
   tar xvf rook-v0.4.0-linux-amd64.tar.gz
   ```

3. Verify the Rook cluster is ready
   ```bash
   ./rookctl status
   ```

At this point, you can use the `rookctl` tool along with some [simple steps to create and manage block, file and object storage](client.md).


## Vagrant

Rook is also easy to run in virutal machines with `vagrant` using the standalone [Vagrantfile](/demo/standalone/Vagrantfile).  When instructed, `vagrant` will start up CoreOS virtual machines and launch `rookd` via `rkt`.  Note that you can make configuration changes as desired in the provided [cloud config file](/demo/standalone/cloud-config.yml.in).

```
cd demo/standalone
vagrant up
```

### Rook Client Tool
Once the Rook cluster in Vagrant is running and initialized, you can use the `rookctl` client tool to manage the cluster and consume the storage.  First, either use a locally built `rookctl` tool or download the latest release from github:
```
wget https://github.com/rook/rook/releases/download/v0.4.0/rook-v0.4.0-linux-amd64.tar.gz
tar xvf rook-v0.4.0-linux-amd64.tar.gz
{'fraction_non_alphanumeric': 0.10896034967218234, 'fraction_numerical': 0.020605682172962846, 'mean_word_length': 3.8841463414634148, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4091733', 'n_tokens_mistral': 1116, 'n_tokens_neox': 1058, 'n_words': 375}