Example of sharing an image in the README

This commit is contained in:
Solomon Hykes 2013-03-26 13:07:06 -07:00
parent 6bf4a10ed4
commit 2664139da4
1 changed files with 11 additions and 0 deletions

View File

@ -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
------------------------------