From 6dfb95e4d731aafab110614211affc2dad3c0689 Mon Sep 17 00:00:00 2001 From: Juha Mustonen Date: Wed, 27 Aug 2014 10:09:49 +0300 Subject: [PATCH] Added instructions how to build and run via Docker --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index e51bd7b..e7fa217 100644 --- a/README.md +++ b/README.md @@ -19,3 +19,15 @@ Examples: ./registry-debug info ubuntu ./registry-debug layerinfo ubuntu 3db9c44f45209632d6050b35958829c3a2aa256d81b9a7be45b362ff85c54710 ./registry-debug curlme ubuntu 3db9c44f45209632d6050b35958829c3a2aa256d81b9a7be45b362ff85c54710 + + +Using via Docker +---------------- +Project provides an easy way to build and run the app via Docker. In this way, you don't have to install go and its dependencies to local environment. Usage example: + +```bash +# Build the container +docker build -t docker-registry-debug . +# Run the command inside the container +docker run -i -t docker-registry-debug info ubuntu +```