Files
docker-docs/reference/ucp/3.1/cli/id.md
Olly P eb86438912 Updated UCP CLI Reference to 3.1.7 (#8805)
-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>
2019-05-17 08:28:29 -07:00

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