Explain how to automate cache selection (#5153)

This commit is contained in:
Joao Fernandes 2017-10-27 15:47:51 -07:00 committed by GitHub
parent 92670f4bfa
commit cdc2fb36b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -206,6 +206,9 @@ tab, and change the **Content Cache** settings to use the **region-us** cache.
![](../../../images/cache-docker-images-4.png){: .with-border}
You can also automate this through the `/api/v0/accounts/{username}/settings`
API.
Now when you pull images, you'll be using the cache. To test this, try pulling
an image from DTR. You can inspect the logs of the cache service, to validate
that the cache is being used, and troubleshoot problems.