Commit Graph

1543 Commits

Author SHA1 Message Date
Guillaume Tardif 3dddbcd7df We need to pass the full command and not rely on ENTRYPOINT for ACI containers, ACI overrides the ENTRYPOINT with commands.
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-26 15:03:37 +01:00
Nicolas De Loof 553865f294
minimalist container image to setup /etc/hosts on ACI
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-10-21 10:25:05 +02:00
Nicolas De loof 455c08c245
Merge pull request #804 from docker/separate_secret_code
Move ACI conversion code to specific files
2020-10-21 10:18:47 +02:00
Nicolas De loof b5a59e3c66
Merge pull request #819 from docker/fix-volumes-screate-cli-interface-bug
Fix volume create cli bug
2020-10-20 20:03:01 +02:00
Ulysses Souza 29ba42bbc4 Fix volume create cli bug
This passes the pointer to the concrete struct instead of a copy

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-20 19:34:06 +02:00
Nicolas De loof ed69f38b44
Merge pull request #813 from docker/ecsVolumeService
CLI command to manage ECS volumes
2020-10-20 16:58:13 +02:00
Nicolas De loof d5ed2bdecf
Merge pull request #818 from docker/ecs_event_status
Remove status truncate on wait
2020-10-20 16:57:53 +02:00
Nicolas De Loof de96a0c1d0
CLI command to manage ECS volumes
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-10-20 16:52:50 +02:00
Nicolas De loof 75a5a0f205
Merge pull request #812 from docker/barbarian
Introduce use of EFS Access Point to mount filesystems as volumes
2020-10-20 16:23:50 +02:00
aiordache 4add3a1662 Remove status truncate from wait and calculate max length in the progress writer based on the terminal width
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-20 16:18:08 +02:00
Nicolas De loof 1c211550fc
Merge pull request #696 from docker/ec2_machine
Allow user to set ami/machine by Deploy.Placement.Constraint
2020-10-20 11:19:29 +02:00
Nicolas De Loof 6fa30284d9
Introduce use of EFS Access Point to mount filesystems as volumes
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-10-20 10:52:33 +02:00
Nicolas De loof dfd660d401
Merge pull request #735 from docker/ecs_secret_stdin
Add password file argument to secret create (handles '-' as stdin read)
2020-10-20 10:31:54 +02:00
Nicolas De loof dee876bb7e
Merge pull request #808 from flaviostutz/architecture-typo
fix "autoscaling" typo
2020-10-20 10:30:33 +02:00
aiordache 8f31ad59be Refactor secrets
- create secrets from files
  - update Secret structure

Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-19 11:33:55 +02:00
flaviostutz a85f0042d6 fix "autoscaling" typo
Signed-off-by: flaviostutz <flaviostutz@gmail.com>
2020-10-18 21:14:23 -03:00
Guillaume Tardif f5f87e342a
Merge pull request #805 from docker/run--env-file
Replace `docker run —envFile` with `docker run —env-file`
2020-10-16 21:26:35 +02:00
Guillaume Tardif 85c94a2f7f Replace `docker run —envFile` with `docker run —env-file`
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-16 18:03:47 +02:00
Guillaume Tardif 38a58855b5 Move more specific code out of convert.go: restart policy
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-16 17:54:13 +02:00
Guillaume Tardif 406eb681d2 Moving code from global convert.go to volumes.go, ports.go
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-16 17:47:31 +02:00
Guillaume Tardif 7d04038690 Separate secret convert code into its own file
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-16 17:27:59 +02:00
Guillaume Tardif 7289f408ca
Merge pull request #791 from gtardif/aci_doc_run
Aci doc on single container run and flags
2020-10-16 17:19:25 +02:00
Guillaume Tardif 487a4e485c Fix Flaky test due to array random order
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-16 17:13:52 +02:00
Guillaume Tardif 869a0b8dd8 Apply suggestions from code review
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-16 17:01:52 +02:00
Guillaume Tardif 6a4d14e03d Apply suggestions from code review
Co-authored-by: Chris Crone <christopher.crone@docker.com>

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-16 17:01:51 +02:00
Guillaume Tardif e705d4915c Adding documentation for single container run and `docker run flags` support in ACI
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-16 17:01:51 +02:00
Guillaume Tardif a1a99786b0 Add log section for compose application, Add log limitation. Fix sections links
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-16 17:01:51 +02:00
Guillaume Tardif 5dd4f9d2a8
Merge pull request #796 from gtardif/fix_aci_e2e_cleanup
Fix Makefile command to cleanup ACI E2E resource groups
2020-10-16 16:30:05 +02:00
Nicolas De loof 31a0cf08d7
Merge pull request #779 from docker/ulimits
add support for ulimits.nofile
2020-10-16 16:12:02 +02:00
Guillaume Tardif 77f8718f03
Merge pull request #800 from docker/fix_windows_tests
Fix unit tests on windows: for secret target path, use path.Join etc. instead of filepath.Join
2020-10-16 15:32:31 +02:00
guillaume.tardif 18966eb3a1 for secret target path, use path.Join etc. instead of filepath.Join, as these paths are container side, not cli side. (do not use windows paths).
Signed-off-by: guillaume.tardif <guillaume.tardif@gmail.com>
2020-10-16 14:57:47 +02:00
Nicolas De Loof 10b8fabaae
Allow user to set ami/machine by Deploy.Placement.Constraint
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-10-16 14:19:51 +02:00
Nicolas De loof d55f8e4ee1
Merge pull request #795 from docker/kirikou
Store external cluster as metadata
2020-10-16 13:59:53 +02:00
Nicolas De Loof 4760ae334d
Store external cluster as metadata
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-10-16 13:42:20 +02:00
Guillaume Tardif 333e4e5675
Merge pull request #787 from docker/add-abs-path-secret-target
Support absolute paths for secrets
2020-10-16 11:59:27 +02:00
Guillaume Tardif 0f417e9997 Fix Makefile command to cleanup ACI E2E resource groups
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-16 11:43:03 +02:00
Anca Iordache 05295b5e8a
Merge pull request #765 from docker/ecs_default_profile
Populate ~/.aws/config(credentials) on ecs context create
2020-10-16 11:33:03 +02:00
Nicolas De loof 6d7348c9b4
Merge pull request #792 from docker/examples
Add compose file examples for ECS
2020-10-16 11:10:48 +02:00
aiordache 9e69386d75 Add examples for several features
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-16 10:37:02 +02:00
aiordache c2af0a136a Populate ~/.aws/config(credentials) on ecs context create
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-15 20:26:38 +02:00
Ulysses Souza 06e44a813c Support absolute paths for secrets
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-15 15:46:07 +02:00
Guillaume Tardif 50a2ae1100 Display summary of reclaimed ACI resources (CPU/mem) in `docker prune`
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-15 15:45:48 +02:00
Guillaume Tardif 7f4bfd16dc
Merge pull request #782 from gtardif/doc_cross_build_ci
Document cross build step reason & timing in CI
2020-10-15 10:26:16 +02:00
Guillaume Tardif e02176004b Document cross build step reason & timing in CI
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-15 10:07:17 +02:00
Chris Crone bb9b059288
Merge pull request #785 from docker/disable_more_aci_tests
Make ACI exec test less strict to handle differing outputs
2020-10-15 09:45:57 +02:00
Nicolas De loof 2f64376f84
Merge pull request #786 from docker/feat_prune 2020-10-14 18:19:21 +02:00
Guillaume Tardif a5e34323e2 Add `docker prune` command and ACI implementation
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-14 17:48:11 +02:00
Guillaume Tardif 7cf7b00584 Add ResourceService definition and ACI NOOP implementation
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-14 15:40:24 +02:00
Nicolas De loof 82db90646f
Merge pull request #783 from docker/efs_opts
Let user pass EFS create option by driver_opts
2020-10-14 15:20:18 +02:00
Guillaume Tardif 1bd5ed56bc Make one ACI test less strict, we still encounter issues related to deployments on Atlas platform (errors on `docker exec`: failed to read input from container: ws closed: 1000, cf https://github.com/docker/compose-cli/runs/1247798295)
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-14 14:35:00 +02:00