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

https://github.com/musobarlab/gomod-docker

Using Go Mod with Docker
https://github.com/musobarlab/gomod-docker

docker go golang gomodule

Last synced: about 2 months ago
JSON representation

Using Go Mod with Docker

Awesome Lists containing this project

README

          

### Using Go Mod with Docker

#### Getting started

Check go version, you need `go version 1.11` or higher
```shell
$ go version
$ go version go1.11.2 darwin/amd64
```

Build Docker image
```shell
$ make docker
$ docker run -p 8080:8080 gomod-docker
```

RUN with volumes
```shell
$ make docker
$ docker run -p 8080:8080 -v ${PWD}/logs:/gomod-docker/logs gomod-docker
```