Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/callicoder/go-docker

Golang Docker Container Example
https://github.com/callicoder/go-docker

container docker go golang image multi-stage-build

Last synced: 3 months ago
JSON representation

Golang Docker Container Example

Awesome Lists containing this project

README

        

# go-docker

Several Examples for building docker containers for your Go applications.

## Running the app locally

```bash
$ go build
$ ./go-docker
2019/02/03 11:38:11 Starting Server
```

```bash
$ curl http://localhost:8080?name=Rajeev
Hello, Rajeev
```

## Building and running the docker image

Read the tutorial: [Building Docker Containers for Go Applications](https://www.callicoder.com/docker-golang-image-container-example/)