Commit Graph

4752 Commits

Author SHA1 Message Date
Reut Sharabani 7dfb856244 Better installation instruction in release notes
Changed sample download script to use the built in `-o` optoin in `curl` instead of redicrecting stdout's output.

This allows users to prepend `sudo` to the snippet to make it work in common use cases where root permissions are needed to create the output file.

From `curl`:
    -o, --output <file>
              Write output to <file> instead of stdout.

Signed-off-by: Reut Sharabani <reut.sharabani@gmail.com>
2017-12-06 17:32:25 -08:00
Joffrey F eb51f0fae8 Add type converter to interpolation module
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-12-06 17:32:25 -08:00
Guillermo Arribas 8cd46cd54d Allow empty default values in variable interpolation (fixes #5185)
Signed-off-by: Guillermo Arribas <garribas@gmail.com>
2017-12-06 17:32:25 -08:00
Guillermo Arribas ee6a293ae0 Placing dots in hostname no longer populates domainname if api >= 1.23 (fixes #4128)
Signed-off-by: Guillermo Arribas <garribas@gmail.com>
2017-12-06 17:32:25 -08:00
Joffrey F dfa7380f37 Add missing test constraint
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-12-06 17:32:25 -08:00
Joffrey F 8a08eb6688 Move build labels parsing to config module
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-12-06 17:32:25 -08:00
Guillermo Arribas 6dfd469354 Progress markers are not shown correctly for docker-compose up (fixes #4801)
Signed-off-by: Guillermo Arribas <garribas@gmail.com>
2017-12-06 17:31:38 -08:00
Guillermo Arribas e1db4f6e19 Build labels option: array form produces unmarshal error (fixes #5183)
Signed-off-by: Guillermo Arribas <garribas@gmail.com>
2017-12-06 17:31:38 -08:00
Joffrey F c8b2dd2fb1 Add support for extension fields in v2.x and v3.4
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-12-06 17:30:33 -08:00
aronahl 2daf3628e9 Fix exit code 0 upon parallel pull failure.
Signed-off-by: Aaron Nall <aronahl@hotmail.com>
2017-12-06 17:29:49 -08:00
Evan Shaw d1289554d5 Always silence pull output with --parallel
This is how things were prior to the addition of the --quiet flag.
Making it not silent produces output that's weird and difficult to read.

Signed-off-by: Evan Shaw <evan@vendhq.com>
2017-12-06 17:27:07 -08:00
NikitaVlaznev 4286315bc9 Fix double silent argument value
Fix for "TypeError: pull() got multiple values for keyword argument 'silent'."
This change e9b6cc23fc caused additional value to be passed for the 'silent' argument, that was already passed there: f85da99ef3

Signed-off-by: Nikita Vlaznev <nikita.dto@gmail.com>
2017-12-06 17:26:56 -08:00
Joel Barciauskas 5844dbb38e Add --quiet parameter to docker-compose pull, using existing silent flag
Signed-off-by: Joel Barciauskas <barciajo@gmail.com>
2017-12-06 17:26:45 -08:00
Alexey Rokhin 3d57f702f1 service_test.py reorder imports
Signed-off-by: Alexey Rokhin <arokhin@mail.ru>
2017-12-06 17:26:21 -08:00
Alexey Rokhin 9b91f3431b skip cpu_percent test for Linux
Signed-off-by: Alexey Rokhin <arokhin@mail.ru>
2017-12-06 17:26:21 -08:00
Alexey Rokhin 700d6aca54 Fix testcases.py formatting
Signed-off-by: Alexey Rokhin <arokhin@mail.ru>
2017-12-06 17:26:21 -08:00
Joffrey F 2a1089a524
Merge pull request #5448 from docker/custom_resource_names
Add support for custom names for networks, secrets, configs
2017-12-06 17:23:43 -08:00
Joffrey F 8155ddc7ad Add support for custom names for networks, secrets, configs
Finalize v3.5 schema

Signed-off-by: Joffrey F <joffrey@docker.com>
2017-12-06 16:48:14 -08:00
Joffrey F 771bf5f7ea
Merge pull request #5436 from docker/5244-advanced-mount-support
Add support for mount syntax
2017-12-05 17:16:28 -08:00
Joffrey F 79b20eb53f Add support for mount syntax
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-12-05 16:21:49 -08:00
Joffrey F eabccda9d1
Merge pull request #5393 from summergirl21/3370-down-timeout
implement --timeout flag for docker-compose down
2017-12-05 12:32:43 -08:00
Joffrey F 91bb682bdf
Merge pull request #5435 from summergirl21/5434-up-d-timeout-not-allowed
Raise error if up used with both -d and --timeout
2017-12-05 12:30:42 -08:00
Madeline Stager 16cc8437de Raise error if up used with both -d and --timeout
Fix #5434
Signed-off-by: Madeline Stager <stager.madeline@gmail.com>
2017-12-05 12:28:28 -06:00
Joffrey F 6cd0bc4883
Merge pull request #5428 from docker/5230-allow-port-publish-ranges
Allow port publish ranges
2017-12-04 15:18:10 -08:00
Joffrey F ceec0595bd Allow port publish ranges
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-12-04 14:15:17 -08:00
Joffrey F 3c232e42c1
Merge pull request #5430 from mtsmfm/fix-ci
Specify osx_image to fix CI
2017-12-04 14:12:46 -08:00
Joffrey F 9098a67394
Merge pull request #5410 from sethktaylor11/5374-build-memory
Adds support for a memory build-arg in docker-compose build.
2017-12-04 14:00:09 -08:00
Yafeng Shan e4e92dd3d8 add support for `runtime` option in service definitions
close #5360

Signed-off-by: Yafeng Shan <cuckoo@kokonur.me>
2017-12-04 12:13:28 +08:00
Samantha Miller a6cdd62726 Adds support for a memory flag to docker-compose build.
Signed-off-by: Samantha Miller <samantha.a.miller123@gmail.com>
2017-12-03 13:59:32 -06:00
Svyatoslav Ilinskiy be0b902631 Add ability to list and filter services in `ps`
Also, rename --filter "option=..." to --filter "key=..."

Signed-off-by: Svyatoslav Ilinskiy <ilinskiy.sv@gmail.com>
2017-12-02 18:37:21 -06:00
Fumiaki MATSUSHIMA 7fdb90d0aa Specify osx_image to fix CI
Signed-off-by: Fumiaki Matsushima <mtsmfm@gmail.com>
2017-12-03 01:13:56 +09:00
Joffrey F a204e50058
Merge pull request #5415 from docker/5377-secrets-mounts
Use mounts for secrets instead of volumes
2017-12-01 13:25:46 -08:00
Joffrey F 43fc651364
Merge pull request #5418 from nginth/5352-fix-volume-config
Add config validation for service volumes, fixes #5352
2017-12-01 12:19:23 -08:00
Joffrey F 8bc6334ba5
Merge pull request #5419 from nginth/5248-add-ipam-default-driver
Add ipam default driver, fixes #5248
2017-11-30 14:05:31 -08:00
Drew Romanyk a1ac289943 Add label config validation, fixes #4904
Signed-off-by: Drew Romanyk <drewiswaycool@gmail.com>
2017-11-30 11:57:42 -06:00
Drew Romanyk 60f818e548 Add ipam default driver, fixes #5248
Signed-off-by: Drew Romanyk <drewiswaycool@gmail.com>
2017-11-30 10:59:25 -06:00
Drew Romanyk bee6046043 Add config validation for service volumes, fixes #5352
Signed-off-by: Drew Romanyk <drewiswaycool@gmail.com>
2017-11-30 10:21:27 -06:00
Joffrey F 415fa6c59b Use mounts for secrets instead of volumes
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-11-29 12:21:56 -08:00
Joffrey F 58dcfac853
Merge pull request #5397 from sethktaylor11/4937-Labels
Added a label option to 'docker-compose run' and test.
2017-11-29 11:42:24 -08:00
Samantha Miller c36a2fb1ad Added a label option to 'docker-compose run' and test.
Signed-off-by: Samantha Miller <samantha.a.miller123@gmail.com>
2017-11-28 18:43:00 -06:00
Joffrey F bf13de024d
Merge pull request #5395 from summergirl21/5394-fix-testing-instructions
5394 Fixed example in instructions for running tests
2017-11-28 11:57:39 -08:00
Madeline Stager 0840a7f044 Fixed example in instructions for running tests.
Fix #5394

Signed-off-by: Madeline Stager <stager.madeline@gmail.com>
2017-11-22 17:41:04 -06:00
Madeline Stager 3b81e49c66 implement --timeout flag for docker-compose down
Fix #3370

Signed-off-by: Madeline Stager <stager.madeline@gmail.com>
2017-11-22 16:31:16 -06:00
Joffrey F ed841e2b0e
Merge pull request #5274 from docker/5263-bump-colorama
Bump colorama (use unreleased fix)
2017-11-20 15:04:26 -08:00
Svyatoslav Ilinskiy 5924c6366e Fix minor issue in docker-compose config documentation.
Signed-off-by: Svyatoslav Ilinskiy <ilinskiy.sv@gmail.com>
2017-11-18 17:46:55 -06:00
Svyatoslav Ilinskiy 1414c1f1fa Use docker-compose config --services in bash completion
Signed-off-by: Svyatoslav Ilinskiy <ilinskiy.sv@gmail.com>
2017-11-18 17:27:42 -06:00
Svyatoslav Ilinskiy 21e312e402 Implement --filter flag for docker-compose config --services.
Fix #1498
Signed-off-by: Svyatoslav Ilinskiy <ilinskiy.sv@gmail.com>
2017-11-17 17:43:12 -06:00
Joffrey F d1633d8e9d
Merge pull request #5364 from nginth/4552-validate-config-subnet
Implement subnet config validation (fixes #4552)
2017-11-16 18:18:22 -08:00
Drew Romanyk badd4d764a Refactor subnet cidr validator & add new test
Signed-off-by: Drew Romanyk <drewiswaycool@gmail.com>
2017-11-13 21:53:14 -06:00
Drew Romanyk 6c8184d0d0 Add format to other v3 configs & remove unix dependency
Signed-off-by: Drew Romanyk <drewiswaycool@gmail.com>
2017-11-10 18:04:11 -06:00