Commit Graph

1579 Commits

Author SHA1 Message Date
Ulysses Souza 0f6f547214 Refactor Print method for lists
This also fixes in the case of nil list

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
Ulysses Souza 8961805412 Add json output format to several commands
- docker context ls
- docker ps
- docker compose ls
- docker compose ps
- docker secret ls
- docker volume ls
- docker version

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
aiordache 11d4db6907 Add EnvVars property to the container proto and update unittest
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-01 14:36:03 +02:00
Guillaume Tardif abd6af6386
Merge pull request #704 from ulyssessouza/add-envFile
Add envFile arguments to run command
2020-10-01 13:55:24 +02:00
Guillaume Tardif b666a21fe2
Merge pull request #707 from ulyssessouza/add-precommit-target
Add pre-commit target to Makefile
2020-10-01 13:40:48 +02:00
Guillaume Tardif 9d69417fc7
Merge pull request #708 from docker/fix_aci_e2e
Fix ACI e2e : now we support passing commands, set `--domainname` before the image in the cmd
2020-10-01 13:29:25 +02:00
Guillaume Tardif 7941e048a1 Fix ACI e2e : now we support passing commands, set `--domainname` before the image in the cmd
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-01 12:56:47 +02:00
Guillaume Tardif 0ac5ce6a76
Merge pull request #702 from gtardif/run-args
Add argument support to run command
2020-10-01 11:22:03 +02:00
Ulysses Souza 112794e6c9 Add pre-commit target to Makefile
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 10:55:02 +02:00
Ulysses Souza 2e899202ec Add envFile arguments to run command
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 06:19:08 +02:00
Guillaume Tardif 4f48318332
Merge pull request #699 from gtardif/fix_compose_default_context
Do not fail when constructing error message for commands not implemented, if command flags are not recognized.
2020-09-30 15:58:06 +02:00
Ulysses Souza 277702dc6b Add argument support to run command
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-09-30 15:34:22 +02:00
Nicolas De Loof 20a8f01269
Don't set securityGroup name, as all compose apps will create a `DefaultNetwork`
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-09-30 15:26:12 +02:00
Guillaume Tardif f686be1b67
Merge pull request #698 from gtardif/aci_doc
ACI integration doc, listing main feature mapping and noticeable differences between local docker experience and ACI deployment.
2020-09-30 15:07:11 +02:00
Nicolas De Loof 757b9bb221
Introduce x-aws-autoscale to support CPU based autoscaling
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-09-30 14:59:25 +02:00
Guillaume Tardif 61d1ce17c5 Apply suggestions from code review
Co-authored-by: Chris Crone <christopher.crone@docker.com>

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-30 14:33:50 +02:00
Guillaume Tardif b514dafa91 Regroup azure constants that might be things to switch in order to provide access to other azure clouds.
See `az cloud list` to list endpoints specific to each azure cloud.

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-30 14:05:28 +02:00
Guillaume Tardif 3cebb4e58a Additional fixes
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-30 12:39:29 +02:00
Guillaume Tardif 216159244f Apply suggestions from code review
Co-authored-by: Chris Crone <christopher.crone@docker.com>

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-30 12:38:24 +02:00
Guillaume Tardif 066db98b8b Minor: fix test shorthand for `--debug` : `-D` and add tests case for mixing `-D` and `compose -f xxx up`
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-30 12:06:13 +02:00
Guillaume Tardif b8968e83cd Do not fail when constructing error message for commands not implemented. Use metrics GetCommand() the is already used 3 lines above for metrics tracking.
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-30 10:49:14 +02:00
Guillaume Tardif cc2d610063 Apply suggestions from code review
Co-authored-by: Chris Crone <christopher.crone@docker.com>

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-29 17:51:43 +02:00
Guillaume Tardif 4b7e690758 ACI integration doc, listing main feature mapping and noticeable differences between local docker experience and ACI deployment.
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-29 16:24:27 +02:00
Nicolas De Loof 1444d68685
Introduce a sidecard to setup resolv.conf search domain
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-09-29 12:23:27 +02:00
Nicolas De Loof b56e17cf27
Sidecar image to append resolvconf search directive
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-09-29 12:08:42 +02:00
Nicolas De loof 3685cbbf8d
Merge pull request #638 from docker/clean 2020-09-29 12:08:31 +02:00
Nicolas De Loof d5e0ec7aa6
`parse` to return awsResources then convert into CF template
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-09-29 08:31:11 +02:00
Chris Crone acff7d6752
Merge pull request #690 from gtardif/labeller_protos
Label PRs touching to protos
2020-09-28 19:21:14 +02:00
Guillaume Tardif 422305fa4e Label PRs touching to protos
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-28 17:19:58 +02:00
Guillaume Tardif 50c80b865f
Merge pull request #683 from gtardif/volumes-grpc
Volumes grpc interface
2020-09-28 15:35:52 +02:00
Nicolas De loof 0d2e9518a5
Merge pull request #684 from gtardif/ci_fork_prs
Update CI workflow to build fine on PRs from forks
2020-09-28 15:11:16 +02:00
Guillaume Tardif b9d6c2e701 Add volume as a new served API, use `one of` in proto for context specific parameters, proxy volume creation
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-28 14:56:32 +02:00
Guillaume Tardif 127baa35f2 Update CI workflow to build fine on PRs from forks
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-28 12:34:06 +02:00
Ulysses Souza b87f827120 Add gRPC layer to volumes management
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-09-28 10:06:18 +02:00
Nicolas De loof 33a4ec6bfe
Merge pull request #681 from gtardif/api_metrics_context
Api metrics context: send context type, not contet name, and never fail
2020-09-28 09:18:09 +02:00
Guillaume Tardif 7807fb33cc API Metrics : send context type, not context name
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-28 09:01:30 +02:00
Chris Crone 4b54422376
Merge pull request #679 from docker/linux-install
Fix Linux install instructions and script
2020-09-25 17:15:02 +02:00
Chris Crone f72b2c4958 install: Fix Linux install instructions and script
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-09-25 17:01:00 +02:00
Chris Crone fbe505f27f
Merge pull request #662 from docker/main-imports
Sort main imports
2020-09-25 14:35:19 +02:00
Chris Crone 7b169744a2 cli: Sort main imports
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-09-25 14:28:26 +02:00
Chris Crone 55edd156aa
Merge pull request #647 from docker/update-install-doc
Update install doc
2020-09-24 21:22:02 +02:00
Chris Crone 198d830c55 docs: Update install doc
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-09-24 21:14:53 +02:00
Nicolas De Loof 7034254911
introduce awsResources to replace CloudFormation parameters
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-09-24 19:34:41 +02:00
Chris Crone 5226e27cf5
Merge pull request #646 from justincormack/desktop-stable
Also available in Stable Desktop
2020-09-24 18:56:22 +02:00
Justin Cormack 16fbe07665
Also available in Stable Desktop
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2020-09-24 17:53:44 +01:00
Guillaume Tardif 1c806a610a
Merge pull request #645 from docker/volume_name
ACI Volumes : create takes one required arg, instead of required flag `--fileshare`
2020-09-24 18:14:30 +02:00
Guillaume Tardif ca35ccfb0e ACI Volumes : create takes one required arg, instead of required flag `--fileshare` (we still have required flag `--storage-account` specifically for ACI)
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-24 17:10:32 +02:00
Guillaume Tardif 79d671f1eb
Merge pull request #644 from docker/fix_edge_cases
Fix edge cases
2020-09-24 13:45:53 +02:00
Guillaume Tardif 7eda96bea4 Fix nil pointer when creating volume with “” storage account
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-24 12:59:29 +02:00
Nicolas De Loof b30cd649b9
Dispatch methods into more specific files
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-09-24 10:32:46 +02:00