Add version

Add version to command usage
This commit is contained in:
David Yu 2018-08-09 15:59:51 -07:00 committed by GitHub
parent daa3aebf88
commit 0ff028273a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -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
```