mirror of https://github.com/docker/docs.git
Fix code block rendering in dtr/release-notes
This commit is contained in:
parent
30ad1a3461
commit
09cd440220
|
|
@ -106,9 +106,9 @@ Settings > Auth to perform the sync.
|
|||
|
||||
* Fixed an issue where Trusted Registry administrators could not list all repositories in the registries. To list them, you must use the `catalog` API using a `bash` shell. The following example lists repositories in a Trusted Registry located at my.dtr.host where the user `admin` has password `password`.
|
||||
|
||||
```
|
||||
```none
|
||||
bash -c 'host=vagrant.host admin=admin password=password token=$(curl -u $admin:$password -k "https://$host/auth/token?service=$host&scope=registry:catalog:*" | python2 -c "import json,sys;obj=json.load(sys.stdin);print obj[\"token\"]") && curl -k -H "Authorization: Bearer $token" "https://$host/v2/_catalog"'
|
||||
```
|
||||
```
|
||||
|
||||
|
||||
## Version 1.4.3
|
||||
|
|
|
|||
Loading…
Reference in New Issue