mirror of
https://github.com/docker/docs.git
synced 2026-03-29 23:38:56 +07:00
-Updated all of the UCP 3.1.7 references. -Alphabeticalised each reference -Added very a value is expected or not after each variable. Signed-off-by: Olly Pomeroy <olly@docker.com>
808 B
808 B
title, description, keywords
| title | description | keywords |
|---|---|---|
| docker/ucp id | Print the ID of UCP running on this node | ucp, cli, id |
Print the ID of UCP running on this node
Usage
docker container run --rm \
--name ucp \
-v /var/run/docker.sock:/var/run/docker.sock \
docker/ucp \
id
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.
Options
| Option | Description |
|---|---|
--debug, D |
Enable debug mode |
--jsonlog |
Produce json formatted output for easier parsing |