Bez popisu

Christopher Crone b7fb7e2e84 Allow setting config dir with env var před 5 roky
.github 5c873c1a84 Release CI config před 5 roky
azure 70bcdca2c2 Add tests to volume convertion před 5 roky
backend 1e19d977e0 Initial functional login command : added Cloud API with generic Login() před 5 roky
cli b7fb7e2e84 Allow setting config dir with env var před 5 roky
client 7edc6659a2 Add unit tests for login process před 5 roky
compose 14fb12c8c8 Let `make protos` affect host files před 5 roky
containers b25a6b4bd6 Add volumes to run command před 5 roky
context 3891c8c414 Put all magic strings in variables in context store před 5 roky
docs 44712ab3c4 Move CLI UX docs into folder před 5 roky
errdefs d2fece3311 Fix linter problems před 5 roky
example a0dda2d094 Add tests for ps --all před 5 roky
moby a26dd81307 Add timeout as a parameter to the stop action před 5 roky
multierror 6486f199e2 Add multierror před 5 roky
server a26dd81307 Add timeout as a parameter to the stop action před 5 roky
tests d218c0745e Merge pull request #121 from gtardif/docker-classic před 5 roky
.dockerignore cbfcd5cf64 Add dockerignore před 5 roky
.gitignore fcc7582826 Remove non-project path před 5 roky
.golangci.yml 69f10fe80c Extract interface / types to allow unit tests / mock před 5 roky
Dockerfile d8a38afecc Implement printing published ports před 5 roky
Makefile 2610b986fd delegate Moby to docker-classic binary, link docker-classic in e2e tests před 5 roky
README.md 2610b986fd delegate Moby to docker-classic binary, link docker-classic in e2e tests před 5 roky
builder.Makefile 7b26e8e836 Faster build před 5 roky
go.mod d28e5fd742 Add e2e-aci tests for volumes před 5 roky
go.sum d28e5fd742 Add e2e-aci tests for volumes před 5 roky

README.md

Docker API

Actions Status

Dev Setup

The recommended way is to use the main Makefile that runs everything inside a container.

If you don't have or want to use Docker for building you need to make sure you have all the needed tools installed locally:

And then you can call the same make targets but you need to pass it the builder.Makefile (make -f builder.Makefile).

The new CLI delegates to the classic docker for default contexts ; delegation is done to docker-classic.

  • make classic-link will create a docker-classic link in /usr/local/bin if you don't already have it from Docker Desktop

Building the project

$ make

If you make changes to the .proto files, make sure to make protos to generate go code.

Tests

To run unit tests:

make test

If you need to update a golden file simply do go test ./... -test.update-golden.