Commit Graph

1597 Commits

Author SHA1 Message Date
Nicolas De loof 7b9390d91f
Merge pull request #701 from docker/autoscale 2020-10-02 15:01:51 +02:00
Nicolas De loof 4d1af4657a
Merge pull request #717 from aiordache/ecs_norm_vol_names 2020-10-02 15:01:31 +02:00
aiordache cf906951bf Normalize volume names
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-02 14:54:23 +02:00
Guillaume Tardif 9a3d3a7f45
Merge pull request #715 from docker/fix_docker_login
Fix regression: let users login to local registry (no ‘.’ In registry name)
2020-10-02 14:06:37 +02:00
Guillaume Tardif 6d0f7f399f Fix regression: let users login to local registry (no '.' In registry name)
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-02 13:54:59 +02:00
aiordache f983686426 Change EnvVars property to Environment
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-02 09:51:09 +02:00
Guillaume Tardif a07b1db9f1 Wait for http status and retry if necessary. We were getting 500 errors because database is not ready initially
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-01 18:09:34 +02:00
Ulysses Souza 83f21b9293 Remove unused files
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
Ulysses Souza 8c51b8b67d Fix lint
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
Ulysses Souza b8a1e6c888 Change JSON output to individual lines
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
Ulysses Souza 3e9095a873 Fix docker context ls for retrocompatibility
It writes each context as an independent object line

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
Ulysses Souza 178ac40dba Fix return on ports when empty
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
Ulysses Souza 6c883dc4a5 Print only the information present in pretty on json
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
Ulysses Souza 604cf0c911 Add comment on legacy --json option
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
Ulysses Souza ac8975ea1e Fix import
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
Ulysses Souza 044e7f571d Remove go template from help on list commands
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
Ulysses Souza fb59c9385d Fix tests
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
Ulysses Souza ef5e013aa7 Return empty list instead of nil on List
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
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