Sign inSign up

meekrosoft/gowebserver

By meekrosoft

Updated almost 10 years ago

The best web server in the world

Image
0

151

meekrosoft/gowebserver repository overview

Run the follwing command to run the simple web server: $ go run http.go

Open browser and goto http://localhost:8000

Replace localhost with the name or IP of your DockerHost.

Run with docker

Build the image:

docker build -t myapp .

Test that you can run it:

docker run -d -p 8000:8000  --name myapp myapp:latest
curl $(docker-machine ip code):8000

Test Driven Development

Here's how to run the test suite:

docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp golang:1.6 go test -v

Tag summary

Content type

Image

Digest

Size

167.9 MB

Last updated

almost 10 years ago

docker pull meekrosoft/gowebserver:1.0