Sign inSign up

jwaldrip/golang-hello

By jwaldrip

•Updated almost 11 years ago

Image
0

2.0K

jwaldrip/golang-hello repository overview

⁠google/golang-hello

google/golang-hello⁠ is a docker⁠ image for a hello world application using "github.com/gorilla/mux"⁠.

It is based on google/golang-runtime⁠ base image and listen on port 8080.

It also imports package internal from the vendor⁠ subdirectory and define its import path in .godir⁠.

⁠Usage

Run the following command:

    docker run -p 8080 google/golang-hello
    

Run with a custom port:

    docker run -e PORT=9292 -p 9292 google/golang-hello

Tag summary

Content type

Image

Digest

sha256:07d800e21…

Size

164.9 MB

Last updated

almost 11 years ago

docker pull jwaldrip/golang-hello