https://github.com/regadas/golang-hello-docker
Fork of google/golang-hello
https://github.com/regadas/golang-hello-docker
Last synced: about 1 year ago
JSON representation
Fork of google/golang-hello
- Host: GitHub
- URL: https://github.com/regadas/golang-hello-docker
- Owner: regadas
- Created: 2015-03-19T15:13:35.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-19T15:55:37.000Z (about 11 years ago)
- Last Synced: 2025-01-29T08:24:10.753Z (over 1 year ago)
- Language: Go
- Homepage: https://github.com/GoogleCloudPlatform/golang-docker/tree/master/hello
- Size: 117 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# google/golang-hello (fork)
[`google/golang-hello`](https://index.docker.io/u/google/golang-hello) is a [docker](https://docker.io) image for a hello world application using ["github.com/gorilla/mux"](http://www.gorillatoolkit.org/pkg/mux).
It is based on [`google/golang-runtime`](https://index.docker.io/u/google/golang-runtime) base image and listen on port `8080`.
It also imports package `internal` from the [`vendor`](vendor) subdirectory and define its import path in [`.godir`](.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