github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/website/content/docs/commands/alloc/index.mdx (about)

     1  ---
     2  layout: docs
     3  page_title: 'Commands: alloc'
     4  description: |
     5    The alloc command is used to interact with allocations.
     6  ---
     7  
     8  # Command: alloc
     9  
    10  The `alloc` command is used to interact with allocations.
    11  
    12  ## Usage
    13  
    14  Usage: `nomad alloc <subcommand> [options]`
    15  
    16  Run `nomad alloc <subcommand> -h` for help on that subcommand. The following
    17  subcommands are available:
    18  
    19  - [`alloc exec`][exec] - Run a command in a running allocation
    20  - [`alloc fs`][fs] - Inspect the contents of an allocation directory
    21  - [`alloc logs`][logs] - Streams the logs of a task
    22  - [`alloc restart`][restart] - Restart a running allocation or task
    23  - [`alloc signal`][signal] - Signal a running allocation
    24  - [`alloc status`][status] - Display allocation status information and metadata
    25  - [`alloc stop`][stop] - Stop and reschedule a running allocation
    26  
    27  [exec]: /docs/commands/alloc/exec 'Run a command in a running allocation'
    28  [fs]: /docs/commands/alloc/fs 'Inspect the contents of an allocation directory'
    29  [logs]: /docs/commands/alloc/logs 'Streams the logs of a task'
    30  [restart]: /docs/commands/alloc/restart 'Restart a running allocation or task'
    31  [signal]: /docs/commands/alloc/signal 'Signal a running allocation'
    32  [status]: /docs/commands/alloc/status 'Display allocation status information and metadata'
    33  [stop]: /docs/commands/alloc/stop 'Stop and reschedule a running allocation'