From e90a109ed52fe3d8de777f100e9c69768245e922 Mon Sep 17 00:00:00 2001 From: Travis Reeder Date: Thu, 6 Oct 2016 10:45:33 -0700 Subject: [PATCH] Updated README. --- examples/hello/README.md | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/examples/hello/README.md b/examples/hello/README.md index 836665c1f..c486e4cc5 100644 --- a/examples/hello/README.md +++ b/examples/hello/README.md @@ -16,18 +16,8 @@ Will output: Hello Johnny Utah! ``` -## Building Image +## Try it ``` -# SET BELOW TO YOUR DOCKER HUB USERNAME -USERNAME=YOUR_DOCKER_HUB_USERNAME -# build it -docker build -t $USERNAME/hello . -# test it -echo '{"name":"Johnny"}' | docker run --rm -i $USERNAME/hello -# tag it -docker run --rm -v "$PWD":/app treeder/bump patch -docker tag $USERNAME/hello:latest $USERNAME/hello:`cat VERSION` -# push it -docker push $USERNAME/hello +echo '{"name":"Johnny"}' | docker run --rm -i iron/hello ```