зеркало из https://github.com/docker/compose-cli.git
aciamazon-ecsamazon-web-servicesazureazure-aciclidockerdocker-composedocker-desktopdocker-engineecsfargatemoby
8571cf5a04
`docker serve` doesn't need a context any more, the server takes the current context from the request metadata and creates a new client |
||
---|---|---|
azure | ||
backend | ||
cli | ||
client | ||
compose/v1 | ||
containers | ||
context | ||
example | ||
scripts/setup | ||
server | ||
util | ||
.dockerignore | ||
.gitignore | ||
Dockerfile | ||
Makefile | ||
README.md | ||
consts.go | ||
go.mod | ||
go.sum | ||
setup-dev.sh |
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