mirror of https://github.com/docker/docs.git
parent
daa3aebf88
commit
0ff028273a
|
@ -7,11 +7,14 @@ keywords: ucp, cli, id
|
|||
Print the ID of UCP running on this node
|
||||
|
||||
## Usage
|
||||
|
||||
Run the UCP id command using the correct image version tag for UCP (i.e. docker/ucp:3.0.3)
|
||||
|
||||
```
|
||||
docker container run --rm \
|
||||
--name ucp \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
docker/ucp \
|
||||
docker/ucp:$version \
|
||||
id
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue