Add command to query local registry after pushing busybox (thanks @crd)

This commit is contained in:
Jerome Petazzoni
2016-05-25 16:25:08 -07:00
parent 3b3825a83a
commit 96d5e69c77

View File

@@ -2514,6 +2514,26 @@ Note: Swarm might do that automatically for us in the future.
---
## Checking what's on our local registry
- The registry API has endpoints to query what's there
.exercise[
- Ensure that our busybox image is now in the local registry:
```bash
curl http://localhost:5000/v2/_catalog
```
]
The curl command should output:
```json
{"repositories":["busybox"]}
```
---
## Adapting our Compose file to run on Swarm
- We can get rid of all the `ports` section, except for the web UI