docs/reference/ucp/3.1/cli/id.md

808 B

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