Several Examples for building docker containers for your Go applications.
$ go build
$ ./go-docker
2019/02/03 11:38:11 Starting Server
$ curl http://localhost:8080?name=Rajeev
Hello, Rajeev
Read the tutorial: Building Docker Containers for Go Applications