From 96d5e69c77408134286209ec71ec740832f7411e Mon Sep 17 00:00:00 2001 From: Jerome Petazzoni Date: Wed, 25 May 2016 16:25:08 -0700 Subject: [PATCH] Add command to query local registry after pushing busybox (thanks @crd) --- www/htdocs/index.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/www/htdocs/index.html b/www/htdocs/index.html index 6dcca32b..191a74de 100644 --- a/www/htdocs/index.html +++ b/www/htdocs/index.html @@ -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