diff options
author | James Mills <prologic@shortcircuit.net.au> | 2017-10-15 13:22:52 -0700 |
---|---|---|
committer | James Mills <prologic@shortcircuit.net.au> | 2017-10-15 13:22:52 -0700 |
commit | c0ee3d4e640ea45ad37cb4b104195a84a39bd629 (patch) | |
tree | a99c5f934f0695f51f9b5784f0717e22647c6919 | |
parent | Minor refactor/cleanup (diff) | |
download | gopherproxy-c0ee3d4e640ea45ad37cb4b104195a84a39bd629.tar.gz gopherproxy-c0ee3d4e640ea45ad37cb4b104195a84a39bd629.tar.bz2 gopherproxy-c0ee3d4e640ea45ad37cb4b104195a84a39bd629.zip |
Updated README with instructions for using prebuilt image
-rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -19,6 +19,14 @@ Demo: https://gopher.mills.io/ | |||
19 | 19 | ||
20 | ### Docker | 20 | ### Docker |
21 | 21 | ||
22 | Run directly from a prebuild image from the [Docker Hub](https://hub.docker.com): | ||
23 | |||
24 | ```#!bash | ||
25 | $ docker run -p 8000:8000 prologic/gopherproxy | ||
26 | ``` | ||
27 | |||
28 | Or build your own custom image from a source checkout: | ||
29 | |||
22 | ```#!bash | 30 | ```#!bash |
23 | $ docker build -t gopherproxy . | 31 | $ docker build -t gopherproxy . |
24 | $ docker run -p 80:80 gopherproxy -uri floodgap.com | 32 | $ docker run -p 80:80 gopherproxy -uri floodgap.com |