From 2664139da48d0c9f5ff20e2049242ce159301ed8 Mon Sep 17 00:00:00 2001 From: Solomon Hykes Date: Tue, 26 Mar 2013 13:07:06 -0700 Subject: [PATCH] Example of sharing an image in the README --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index c19d1e0a4a..dcd545b27a 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,17 @@ docker ps ``` +Share your own image! +--------------------- + +```bash +docker pull base +CONTAINER=$(docker run -d base apt-get install -y curl) +docker commit -m "Installed curl" $CONTAINER $USER/betterbase +docker push $USER/betterbase +``` + + Expose a service on a TCP port ------------------------------