# openrail volume

> List, add, delete or wipe the linked service's volume.

List, add, delete or wipe the linked service's volume.

## Usage

```sh
openrail volume list
openrail volume add --mount PATH
openrail volume delete
openrail volume wipe
```

## Flags

| Flag | Meaning |
|---|---|
| `--mount PATH` | Mount path inside the container |

## Details

- `wipe` stops the service, empties the volume and starts it again. You are asked to type the volume name unless `-y` is given.
- Deleted volumes are kept for 48 hours before their data is removed.

## Railway equivalent

`railway volume` works the same way through the [railway alias](https://openrail.app/docs/cli/railway-alias).

Every command also accepts the [global options](https://openrail.app/docs/cli/global-options).
