2017-10-12 01:24:58 +00:00
|
|
|
---
|
2020-02-06 23:45:31 +00:00
|
|
|
layout: docs
|
|
|
|
page_title: 'Commands: ui'
|
|
|
|
sidebar_title: ui
|
|
|
|
description: |
|
2017-10-12 01:24:58 +00:00
|
|
|
The ui command is used to open the Nomad Web UI.
|
|
|
|
---
|
|
|
|
|
|
|
|
# Command: ui
|
|
|
|
|
|
|
|
The `ui` command is used to open the Nomad Web UI.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2019-10-22 13:44:00 +00:00
|
|
|
```plaintext
|
2017-10-12 01:24:58 +00:00
|
|
|
nomad ui [options] <identifier>
|
|
|
|
```
|
|
|
|
|
|
|
|
The `ui` command can be called with no arguments, in which case the UI homepage
|
|
|
|
will be opened in the default browser.
|
|
|
|
|
|
|
|
An identifier may be provided, in which case the UI will be opened to view the
|
|
|
|
details for that object. Supported identifiers are jobs, allocations and nodes.
|
|
|
|
|
|
|
|
## General Options
|
|
|
|
|
2020-02-06 23:45:31 +00:00
|
|
|
@include 'general_options.mdx'
|
2017-10-12 01:24:58 +00:00
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
Open the UI homepage:
|
|
|
|
|
2020-05-01 20:02:21 +00:00
|
|
|
```shell-sessionnomad ui
|
2017-10-12 01:24:58 +00:00
|
|
|
Opening URL "http://127.0.0.1:4646"
|
|
|
|
```
|
|
|
|
|
|
|
|
Open the UI directly to look at a job:
|
|
|
|
|
2020-05-01 20:02:21 +00:00
|
|
|
```shell-sessionnomad ui redis-job
|
2017-10-12 16:42:11 +00:00
|
|
|
http://127.0.0.1:4646/ui/jobs/redis-job
|
2017-10-12 01:24:58 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
Open the UI directly to look at an allocation:
|
|
|
|
|
2020-05-01 20:02:21 +00:00
|
|
|
```shell-sessionnomad ui d4005969
|
2017-10-12 01:24:58 +00:00
|
|
|
Opening URL "http://127.0.0.1:4646/ui/allocations/d4005969-b16f-10eb-4fe1-a5374986083d"
|
|
|
|
```
|