Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 704 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 704 Bytes

Go Server

Docker Repository on Quay

Simple server implementation by golang

Run in Docker

First, install docker toolbox

Then, type the commands below to run docker

$ eval $(docker-machine env default)
$ docker build -t docker_go .
$ docker run -d -p 80:8080 --name go_server docker_go

From now, you can access docker-machine ip default in browser

$ open http://$(docker-machine ip default)

You can remove docker go_server by

$ docker rm -f go_server