2018-03-22 17:56:06 +00:00
|
|
|
---
|
|
|
|
layout: "docs"
|
|
|
|
page_title: "Commands: alloc"
|
|
|
|
sidebar_current: "docs-commands-alloc"
|
|
|
|
description: >
|
|
|
|
The alloc command is used to interact with allocations.
|
|
|
|
---
|
|
|
|
|
|
|
|
# Command: alloc
|
|
|
|
|
|
|
|
The `alloc` command is used to interact with allocations.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
Usage: `nomad alloc <subcommand> [options]`
|
|
|
|
|
|
|
|
Run `nomad alloc <subcommand> -h` for help on that subcommand. The following
|
|
|
|
subcommands are available:
|
|
|
|
|
|
|
|
* [`alloc fs`][fs] - Inspect the contents of an allocation directory
|
|
|
|
* [`alloc logs`][logs] - Streams the logs of a task
|
2019-04-15 09:12:06 +00:00
|
|
|
* [`alloc restart`][restart] - Restart a running allocation or task
|
2019-04-25 12:39:49 +00:00
|
|
|
* [`alloc signal`][signal] - Signal a running allocation
|
2018-03-22 17:56:06 +00:00
|
|
|
* [`alloc status`][status] - Display allocation status information and metadata
|
2019-04-23 11:22:27 +00:00
|
|
|
* [`alloc stop`][stop] - Stop and reschedule a running allocation
|
2018-03-22 17:56:06 +00:00
|
|
|
|
|
|
|
[fs]: /docs/commands/alloc/fs.html "Inspect the contents of an allocation directory"
|
|
|
|
[logs]: /docs/commands/alloc/logs.html "Streams the logs of a task"
|
2019-04-15 09:12:06 +00:00
|
|
|
[restart]: /docs/commands/alloc/restart.html "Restart a running allocation or task"
|
2019-04-25 12:39:49 +00:00
|
|
|
[status]: /docs/commands/alloc/signal.html "Signal a running allocation"
|
2018-03-22 17:56:06 +00:00
|
|
|
[status]: /docs/commands/alloc/status.html "Display allocation status information and metadata"
|
2019-04-23 11:22:27 +00:00
|
|
|
[stop]: /docs/commands/alloc/stop.html "Stop and reschedule a running allocation"
|