mirror of
https://github.com/docker/docs.git
synced 2026-04-02 09:18:57 +07:00
* added test for keywords Signed-off-by: Adrien Duermael <adrien@duermael.com> * fixed keywords in some md files for tests to pass Signed-off-by: Adrien Duermael <adrien@duermael.com> * fixed keywords in /datacenter Signed-off-by: Adrien Duermael <adrien@duermael.com> * tests/Dockerfile: no need to add git Signed-off-by: Adrien Duermael <adrien@duermael.com> * tests/Dockerfile: changed maintainer Signed-off-by: Adrien Duermael <adrien@duermael.com>
28 lines
550 B
Markdown
28 lines
550 B
Markdown
---
|
|
description: Print the ID of UCP running on this node
|
|
keywords: docker, dtr, cli, id
|
|
title: docker/ucp id
|
|
---
|
|
|
|
Print the ID of UCP running on this node
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
|
|
docker run -it --rm \
|
|
--name ucp \
|
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
|
docker/ucp \
|
|
id [command options]
|
|
|
|
```
|
|
|
|
## Description
|
|
|
|
This command prints the ID of the UCP components running on this node. This ID
|
|
matches what you see when running the 'docker info' command while using
|
|
a client bundle.
|
|
|
|
This ID is used by other commands as confirmation.
|