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

https://github.com/gregoryv/dockerdemo

Show how to use docker with static go file and linked containers
https://github.com/gregoryv/dockerdemo

Last synced: about 1 year ago
JSON representation

Show how to use docker with static go file and linked containers

Awesome Lists containing this project

README

          

dockerdemo - showing how to link containers in docker compose

## Quick start

$ git clone git@github.com:gregoryv/dockerdemo.git
$ cd dockerdemo
$ CGO_ENABLED=0 go build -ldflags="-s -w" .
$ docker build -t x .
$ docker-compose up