Define and run multi-container applications with Docker
Go to file
Ulysses Souza b44547c71f Refactor NewContext
This renames NewContext to NewSigContext and
moves it to ./util/util.go avoiding the servers
to import "github.com/docker/api/client"

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-04-24 11:50:30 +02:00
backend/v1 Go mods initialized, protos without gogo 2020-04-21 15:07:41 +02:00
client Refactor NewContext 2020-04-24 11:50:30 +02:00
cmd Refactor NewContext 2020-04-24 11:50:30 +02:00
containers/v1 Add containers proto from docker/d2 2020-04-23 12:25:14 +02:00
context Use v2 of urfave/cli 2020-04-23 09:43:53 +02:00
example/backend Refactor NewContext 2020-04-24 11:50:30 +02:00
scripts/setup add protoc-gen-go and remove gogo install 2020-04-21 15:29:18 +02:00
server Add initial backend proto and example 2020-04-06 11:22:34 -04:00
util Refactor NewContext 2020-04-24 11:50:30 +02:00
.gitignore Rename context to example to make it more explicit, context will be a local command managing contexts (similar to docker-cli context command, adapted here for more generic purpose) 2020-04-07 21:36:25 +02:00
Makefile Go mods initialized, protos without gogo 2020-04-21 15:07:41 +02:00
README.md Add initial backend proto and example 2020-04-06 11:22:34 -04:00
go.mod Use v2 of urfave/cli 2020-04-23 09:43:53 +02:00
go.sum Use v2 of urfave/cli 2020-04-23 09:43:53 +02:00
setup-dev.sh Fix install-protobuf script for macosx install 2020-04-06 17:19:16 +02:00

README.md

Docker API

Dev Setup

To setup a development machine to update the API protobufs, first run the ./setup-dev.sh script to install the correct version of protobufs on your system and get the protobuild binary.

Building the API Project

> make

Build the example backend

The example backend code is located in /example/backend. Build the service with the resulting binary placed in the /bin directory.

> make example