Skip to content

Commit

Permalink
Add command to query local registry after pushing busybox (thanks @crd)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpetazzo committed May 25, 2016
1 parent 3b3825a commit 96d5e69
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions www/htdocs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2514,6 +2514,26 @@

---

## 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
Expand Down

0 comments on commit 96d5e69

Please sign in to comment.