This is a copy of the demo on https://http2.golang.org.
1.1K
This is a copy of the demo on https://http2.golang.org. It can be used for showing the demo locally without a network connection.
WARNING: The docker host's IP address is hard-coded: 192.168.99.100. If your docker host has another address, change it in the Dockerfile and re-build the image.
docker run -p 4430:4430 -p 8080:8080 fstab/gophertiles
Then point your web browser to https://192.168.99.100:4430. The address is hard-coded in the Dockerfile, see the warning above.
Clone fstab/docker-gophertiles from GitHub.
git clone https://github.com/fstab/docker-gophertiles.git
Build the docker image
cd docker-gophertiles
docker build -t="fstab/gophertiles" .
Run with the same command as described above.
docker run -p 4430:4430 -p 8080:8080 fstab/gophertiles
Content type
Image
Digest
sha256:e5a96db07…
Size
254.6 MB
Last updated
about 11 years ago
docker pull fstab/gophertiles