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
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
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
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
Drew Romanyk
68c636d728
Fix subnet config test for windows
...
Signed-off-by: Drew Romanyk <drewiswaycool@gmail.com>
2017-11-09 23:41:42 -06:00
Drew Romanyk
5691b8241d
Implement subnet config validation ( fixes #4552 )
...
Signed-off-by: Drew Romanyk <drewiswaycool@gmail.com>
2017-11-09 22:30:10 -06:00
Joffrey F
d48002a09d
Merge pull request #5361 from docker/5282-build-extra-hosts
...
Add support for extra_hosts in build config
2017-11-09 16:30:35 -08:00
Joffrey F
c5408f3a40
Add support for extra_hosts in build config
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-11-09 14:57:24 -08:00
Joffrey F
0079ac52c6
Merge pull request #5250 from garribas/4801-progress-markers
...
Progress markers are not shown correctly for docker-compose up (fixes…
2017-11-09 14:29:34 -08:00
Joffrey F
4563d8c050
Fix service label parsing
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-11-03 13:51:49 -07:00
Joffrey F
819be19f7c
Miscellaneous test fixes
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-11-01 15:18:28 -07:00
Andy Neff
0e4bd32a65
Added unit test and used stop_timeout
...
Signed-off-by: Andy Neff <andyneff@users.noreply.github.com>
2017-11-01 13:30:49 -07:00
Guillermo Arribas
da32c44bce
Terminate containers on SIGHUP ( fixes #4909 )
...
Signed-off-by: Guillermo Arribas <garribas@gmail.com>
2017-11-01 12:15:00 -03:00
Joffrey F
80503da476
Add support for oom_kill_disable in service config
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-10-25 17:32:18 -07:00
Guillermo Arribas
b30cb77a7b
docker-compose exec doesn't have -e option ( fixes #4551 )
...
Signed-off-by: Guillermo Arribas <garribas@gmail.com>
2017-10-25 13:22:00 -07:00
Joffrey F
8c0b03a2f5
Add support for BOM-signed env files
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-10-24 12:52:54 -07:00
Guillermo Arribas
aa1fb67495
Wrong format in the healthcheck test does not issue a warning ( fixes #4424 )
...
Signed-off-by: Guillermo Arribas <garribas@gmail.com>
2017-10-23 14:50:22 -07:00
Joffrey F
a07dee9207
Add type converter to interpolation module
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-10-23 12:42:42 -07:00
Guillermo Arribas
eebc63c216
Allow empty default values in variable interpolation ( fixes #5185 )
...
Signed-off-by: Guillermo Arribas <garribas@gmail.com>
2017-10-20 13:45:47 -07:00
Guillermo Arribas
9c5347bd23
Placing dots in hostname no longer populates domainname if api >= 1.23 ( fixes #4128 )
...
Signed-off-by: Guillermo Arribas <garribas@gmail.com>
2017-10-19 16:31:18 -07:00
Joffrey F
803d5352e6
Add missing test constraint
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-10-18 17:27:23 -07:00
Joffrey F
d2cbf33412
Add specific handling for pywintypes.error
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-10-16 13:43:57 -07:00
Guillermo Arribas
aaa0773b4b
Config command generates invalid volumes ( fixes #5176 )
...
Signed-off-by: Guillermo Arribas <garribas@gmail.com>
2017-10-16 12:06:04 -07:00
Joffrey F
7df1b53ad2
Move build labels parsing to config module
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-10-16 11:56:36 -07:00
Guillermo Arribas
57eb1c463f
Progress markers are not shown correctly for docker-compose up ( fixes #4801 )
...
Signed-off-by: Guillermo Arribas <garribas@gmail.com>
2017-10-13 22:54:39 -03:00
Guillermo Arribas
6de646d3b0
Build labels option: array form produces unmarshal error ( fixes #5183 )
...
Signed-off-by: Guillermo Arribas <garribas@gmail.com>
2017-10-13 22:49:41 -03:00
Joffrey F
08714ef796
Add get_secret_volumes unit tests
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-10-13 17:43:07 -07:00
Joffrey F
53e0378379
Mount with same container path and different mode should override
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-10-13 17:04:42 -07:00
Joffrey F
aab0891a07
Temporary xfails for engine bug
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-10-13 16:21:34 -07:00
Marc van den Hoogen
dc838067fd
Add shm_size to build-options (issue #3866 )
...
* Add shm_size to build configuration
* Make it possible to enlarge/customize shm size during build
* Value in bytes, or use string like "512M" or "1G" ...
* Add to compose format 2.3 and (provisionally) >=3.5 format
* Add automated test for shm_size in build-opts
Signed-off-by: Marc van den Hoogen <marc@vandenhoogen.eu>
Made unit tests compatible with previously added shm_size build-option
Signed-off-by: Marc van den Hoogen <marc@vandenhoogen.eu>
Also support shm_size build-opt when conf override
Signed-off-by: Marc van den Hoogen <marc@vandenhoogen.eu>
Automated test for shm_size build-option
Signed-off-by: Marc van den Hoogen <marc@vandenhoogen.eu>
Schema 3.4, add shm_size to schema 2.3, updated const.py
Signed-off-by: Marc van den Hoogen <marc@vandenhoogen.eu>
Corrected typo in config_schema_v3.4
Signed-off-by: Marc van den Hoogen <marc@vandenhoogen.eu>
Add support for g/m/k units for shm_size in build-opts
Signed-off-by: Marc van den Hoogen <marc@vandenhoogen.eu>
Reorder imports in service.py
Signed-off-by: Marc van den Hoogen <marc@vandenhoogen.eu>
2017-09-29 15:50:17 -07:00
Joffrey F
9430e5bf9d
Avoid import ConfigurationError inside compose.utils (circular import)
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-09-28 16:51:03 -07:00
Joffrey F
3654f3ac48
Fix oneOf validator parser to correctly process uniqueItems errors
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-09-26 17:21:31 -07:00
Joffrey F
fc426e273d
Merge extra_hosts instead of overwrite
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-09-01 13:18:44 -07:00
Joffrey F
ec1f6c36eb
Add support for extension fields in v2.x and v3.4
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-31 14:38:32 -07:00
Joffrey F
40c05cfc1e
Add --no-start flag to up command. Deprecate create command.
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-31 14:36:13 -07:00
Cecile Tonglet
ebbf48e606
Actually test there is no control characters
...
Signed-off-by: Cecile Tonglet <cecile.tonglet@gmail.com>
2017-08-24 14:10:50 -07:00
aronahl
390ba801a3
Fix exit code 0 upon parallel pull failure.
...
Signed-off-by: Aaron Nall <aronahl@hotmail.com>
2017-08-15 13:48:41 -07:00
Joffrey F
7210fdb21c
Add support for start_period in healthcheck config
...
Improve merging strategy for healthcheck configs
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-11 16:49:29 -07:00
Joffrey F
22d9a258f4
v2 custom volume name support
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-11 11:48:00 -07:00
Joffrey F
8c30971299
Add support for v3.4 files and custom volume names
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-11 11:48:00 -07:00
Joffrey F
3fbfb3a5dd
Prevent null logging options in `docker-compose config` output
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-10 12:21:27 -07:00
Joffrey F
dc6bb7020d
UCP 2.2.0 test fixes
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-10 11:08:20 -07:00
Joffrey F
6e802df809
Add support for blkio config keys
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-09 19:45:22 -07:00
Joffrey F
454b063fed
Keep no-ansi parameter in the CLI scope
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-09 19:00:23 -07:00
Cecile Tonglet
b0b671dbf2
Add a flag --no-ansi to remove control characters on parallel executions
...
Signed-off-by: Cecile Tonglet <cecile.tonglet@gmail.com>
2017-08-09 19:00:23 -07:00
Joffrey F
3ea8a20cfa
Fix ServiceExtendsResolver same-file detection
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-03 12:06:06 -07:00
Joffrey F
0c4fc93895
Use newer versions of pre-commit hooks
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-08-02 20:02:26 -07:00
Joffrey F
d668fd1c67
Bump 1.15.0-rc1
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-26 18:20:09 -07:00
Joffrey F
8102f02cfc
0 is a valid value for a published port
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-26 18:17:26 -07:00
Joffrey F
7abae9f536
Escape dollar sign in serialized config output
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-26 18:16:55 -07:00
Joffrey F
9502408ff0
Fix test issues with Engine 17.07 RC1
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-26 17:33:02 -07:00
Yong Wen Chua
1ecf51c209
Add `target` to service build configuration
...
Signed-off-by: Yong Wen Chua <me@yongwen.xyz>
2017-07-20 17:06:59 -07:00
Yong Wen Chua
4a65008199
Add Compose v2.3
...
Signed-off-by: Yong Wen Chua <me@yongwen.xyz>
2017-07-20 17:06:59 -07:00
Joffrey F
6a4adb64f9
Some more test adjustments for Swarm support
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-20 16:39:03 -07:00
Joffrey F
8f0ef26a73
Improved version comparisons throughout the codebase
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-11 17:40:53 -07:00
Joffrey F
d94fa5428e
Make sure y/n values are quoted in serialized output
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-06 15:15:12 -07:00
Joffrey F
e33041582f
Add "network" field to build configuration
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-06 12:17:46 -07:00
Joffrey F
55bd02f303
`scale` property should be merged according to standard scalar rules
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-05 13:10:50 -07:00
Joffrey F
2b7ed24bc0
Fix override volume merging + add acceptance test
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-03 17:24:32 -07:00
Evan Shaw
9cdbb953ba
Align status output for parallel_execute
...
Previously docker-compose would output lines that looked like:
Starting service ... done
Starting short ...
Starting service-with-a-long-name ... done
It's difficult to scan down this output and get an idea of what's happening.
Now the statuses are aligned, and output looks like this:
Starting service ... done
Starting short ...
Starting service-with-a-long-name ... done
To me, this is quite a bit easier to read.
Signed-off-by: Evan Shaw <evan@vendhq.com>
2017-07-03 16:24:07 -07:00
Joffrey F
259b96748c
Add support for service:name pid config
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-07-03 16:15:20 -07:00
Joffrey F
515526f0ff
Ignore test failures in storage_opt test
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-06-27 12:51:21 -07:00
dinesh
4dd54b83e8
Add storage_opt in v2.1
...
Signed-off-by: dinesh <dineshpy07@gmail.com>
2017-06-27 12:51:21 -07:00
Joffrey F
f2054f1a7d
Fix ports sorting on Python 3
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-06-27 12:50:41 -07:00
Joffrey F
7a4c328c41
Rewriting tests to be UCP/Swarm compatible
...
- Event may contain more information in some cases.
Don't assume order or format
- Don't assume ports are always exposed on 0.0.0.0 by default
- Absence of HostConfig in a create payload sometimes causes an error at the
engine level
- In Swarm, volume names are prefixed by "<node_name>/"
- When testing against Swarm, the default network driver is overlay
- Ensure custom test networks are always attachable
- Handle Swarm network names
- Some params moved to host config in recent (1.21+) version
- Conditional test skips for Swarm environments
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-06-14 16:17:15 -07:00
Joel Barciauskas
e9b6cc23fc
Add --quiet parameter to docker-compose pull, using existing silent flag
...
Signed-off-by: Joel Barciauskas <barciajo@gmail.com>
2017-06-14 14:53:13 -07:00
Joffrey F
f3c1c8d158
ServicePort merge_field should account for external IP and protocol
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-06-12 11:42:29 -07:00
Joffrey F
8512b33e24
Remedy test failures
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-06-06 11:50:09 -07:00
Joffrey F
bd8d77feae
Add configs tests
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-06-06 11:50:09 -07:00
Joffrey F
36af86b9b2
Always convert port values in ServicePort to integer
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-06-05 15:51:22 -07:00
Joffrey F
9a70db0889
Merge pull request #4864 from shin-/cred_spec_support
...
Add partial support for v3.3 credential_spec
2017-05-25 17:30:44 -07:00
Joffrey F
73d7865da8
Add partial support (docker-compose config and warnings) for v3.3 credential_spec
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-05-25 14:54:46 -07:00
Joffrey F
bf8498c488
Merge pull request #4861 from shin-/4825-cache-from
...
Merge all fields inside build dict
2017-05-25 14:44:56 -07:00
Joffrey F
347a7a8d2a
Merge pull request #4862 from shin-/network_labels_check_warn
...
Network label mismatch now prints a warning instead of raising an error
2017-05-25 14:44:36 -07:00
Joffrey F
49605f2715
Add support for build labels in 2.1 and 2.2 format
...
Add cache_from in 2.2 format
Add integration test for build labels
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-05-23 15:53:06 -07:00
Joffrey F
2ba9cd73d1
Network label mismatch now prints a warning instead of raising an error
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-05-23 15:26:17 -07:00
Joffrey F
062812e4aa
Merge all fields inside build dict
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-05-23 15:23:04 -07:00
Joffrey F
972fe65830
Merge pull request #4860 from shin-/4845-rm-stop
...
Fix improper use of project.stop
2017-05-23 15:08:13 -07:00
Joffrey F
98419ba2a2
Merge pull request #4859 from shin-/eliat123-4771-fix-allow-override-yaml-extension
...
Fix: allow override yaml extension
2017-05-23 15:08:00 -07:00
Joffrey F
244209814b
Fix improper use of project.stop
...
Add some better test coverage for rm --stop
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-05-23 12:38:54 -07:00
Eli Atzaba
0d0c0454e9
Raise exception when override.yaml & override.yml coexist
...
Signed-off-by: Eli Atzaba <eliat123@gmail.com>
2017-05-23 12:09:19 -07:00
Eli Atzaba
9334f29898
Fix for yaml extention does not work with override file
...
Signed-off-by: Eli Atzaba <eliat123@gmail.com>
2017-05-23 12:09:19 -07:00
Joffrey F
fa77856c86
Add 3.3 format support
...
Remove build.labels field from 3.2 schema
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-05-23 12:04:24 -07:00
Colin Hebert
9d78258b44
Fix test type
...
Signed-off-by: Colin Hebert <hebert.colin@gmail.com>
2017-05-23 12:03:36 -07:00
Colin Hebert
37de55865b
Add tests for the labels
...
Signed-off-by: Colin Hebert <hebert.colin@gmail.com>
2017-05-23 12:03:36 -07:00
Colin Hebert
7fca689efd
Update tests to show labels set to None
...
Signed-off-by: Colin Hebert <hebert.colin@gmail.com>
2017-05-23 12:03:36 -07:00
Alexey Rokhin
bffdb7a349
service_test.py reorder imports
...
Signed-off-by: Alexey Rokhin <arokhin@mail.ru>
2017-05-17 16:42:43 +03:00
Alexey Rokhin
61ed6ca8a4
skip cpu_percent test for Linux
...
Signed-off-by: Alexey Rokhin <arokhin@mail.ru>
2017-05-17 16:18:28 +03:00
Alexey Rokhin
3e39aa0709
Fix testcases.py formatting
...
Signed-off-by: Alexey Rokhin <arokhin@mail.ru>
2017-05-17 15:21:35 +03:00
Alexey Rokhin
0043dc4fab
Add cpu_count, cpu_percent, cpus parameters.
...
Signed-off-by: Alexey Rokhin <arokhin@mail.ru>
2017-05-17 14:50:29 +03:00
Joffrey F
59a4f554b9
Prevent dependencies rescaling when executing `docker-compose run`
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-05-12 17:39:56 -07:00
Joffrey F
babd7530c3
New network config whitelist option in unit test
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-05-05 11:40:50 -07:00
Joffrey F
3e66c68f9f
Fix external secrets serialization
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-05-01 14:42:17 -07:00
Joffrey F
fd699c5923
Merge pull request #4742 from shin-/2496-new_scale
...
docker-compose up --scale, scale in config file
2017-04-27 15:52:31 -07:00
Joffrey F
d0acefd450
Prevent NoneType error when remote IPAM options is None
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-04-26 13:34:45 -07:00
Joffrey F
a0cf0a2009
Avoid rebinding tmpfs data volumes when recreating containers
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-04-25 15:10:57 -07:00
Joffrey F
2ba4e5e8ec
Prevent `docker-compose scale` to be used with a v2.2 config file
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-04-21 11:42:18 -07:00
Joffrey F
afb2b6c51c
Properly relay errors in execute_convergence_plan
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-04-18 12:53:43 -07:00
Joffrey F
78ee612333
Implement --scale option on up command, allow scale config in v2.2 format
...
docker-compose scale modified to reuse code between up and scale
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-04-17 19:51:48 -07:00
Joffrey F
c817dedef7
Repair bad imports
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-04-14 14:31:30 -07:00
Joffrey F
ae2cc6b5b8
Merge pull request #4721 from shin-/4376-unicode_file_paths
...
Convert paths to unicode in get_config_path_from_options if needed
2017-04-12 14:41:44 -07:00
Joffrey F
1891b2b78c
Fix ServicePort.legacy_repr bug for `ext_ip::target` notation
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-04-11 14:45:14 -07:00
Joffrey F
0f00aa4098
Convert paths to unicode in get_config_path_from_options if needed
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-04-10 17:45:06 -07:00
Joffrey F
94defc159a
Merge pull request #4716 from shin-/4415-init_init_path
...
Add support for service.init
2017-04-10 14:42:18 -07:00
Joffrey F
d0d684f03d
Merge pull request #4715 from shin-/4708-ipam_options
...
Add support for IPAM options in v2 format
2017-04-10 14:40:44 -07:00
Joffrey F
843a0d82a0
Add support for IPAM options in v2 format
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-04-10 12:24:05 -07:00
Joffrey F
cc966a7e19
Add support for init and init_path
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-04-10 12:16:57 -07:00
Joffrey F
72a2ea9d86
Fix serializer bug (python 3)
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-04-07 16:54:31 -07:00
Joffrey F
2506b72508
Merge pull request #4649 from shin-/bump_docker_py
...
Bump docker SDK dependency
2017-03-31 14:40:49 -07:00
Joffrey F
48831a8d5f
Bump docker SDK dependency
...
Update invalid ports test
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-03-28 16:15:34 -07:00
King Chung Huang
0e5acfa16c
Merge deploy key in service dicts
...
Update merge_service_dicts() to merge deploy mappings.
Compose file version 3 added the deploy key to service dicts
to specify configs related to Docker services.
Signed-off-by: King Chung Huang <kinghuang@mac.com>
2017-03-24 15:03:53 -06:00
Joffrey F
eab1ee0eaf
Support 'nocopy' mode for expanded volume syntax
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-03-23 15:17:23 -07:00
Joffrey F
0d1608c17c
Merge pull request #4662 from shin-/4651-tls-version-commandline
...
Recognize COMPOSE_TLS_VERSION env var in tls_config_from_options
2017-03-23 15:16:03 -07:00
Joffrey F
f55c9d4201
Recognize COMPOSE_TLS_VERSION env var in tls_config_from_options
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-03-22 17:27:11 -07:00
Joffrey F
a0add5cc12
Fix ports reparsing for service extends
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-03-22 15:14:13 -07:00
Joffrey F
732bf52a4e
The interval is too damn small
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-03-22 14:09:50 -07:00
Joffrey F
611f058cde
Merge pull request #4632 from shin-/expanded-mounts
...
Add support for expanded mount/volume notation
2017-03-21 12:36:41 -07:00
Joffrey F
69d0c0e3a0
Add support for expanded mount/volume notation
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-03-17 20:42:59 -07:00
King Chung Huang
0464476f08
Add unit test for image digests in config
...
Add two unit tests to validate that the denormalize_service_dict
function still works without passing a third argument for image_digest,
and correctly uses an image digest if one is provided.
Signed-off-by: King Chung Huang <kinghuang@mac.com>
2017-03-17 12:22:40 -06:00
Daniel Nephin
2acf286ed6
Support V3.2
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-03-15 11:40:31 -04:00
Joffrey F
a182300706
Merge pull request #4605 from shin-/4600-check-all-network-updates
...
Ensure network config matches remote for all properties
2017-03-14 13:56:43 -07:00
Joffrey F
a6db78e5d4
Enable variable substitution in config.secrets
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-03-13 18:30:37 -07:00
Joffrey F
963b672cbd
Ensure network config matches remote for all properties
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-03-13 15:48:38 -07:00
Joffrey F
23b873c2ce
Add "secrets" section to docker-compose config output when applicable
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-03-10 14:32:55 -08:00
Joffrey F
dd294ce9cc
Merge pull request #4591 from shin-/4580-log-api-error
...
Avoid encoding crash in log_api_error
2017-03-10 14:02:44 -08:00
Joffrey F
beedceb66b
Merge pull request #4589 from shin-/dbonev-2586-specify-cwd-parameter
...
Ability to change working directory via a CLI flag
2017-03-09 15:44:27 -08:00
Joffrey F
4e92b5bb85
Merge pull request #4590 from shin-/3474-self-referencing-ext-links
...
Prevent service to create a container if it is referencing itself in an external link
2017-03-09 15:36:48 -08:00
Joffrey F
c3bcd59aeb
Avoid encoding crash in log_api_error
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-03-09 15:23:13 -08:00
Joffrey F
5ea9167334
Prevent service to create a container if it is referencing itself in an external link
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-03-08 18:29:09 -08:00
Dimitar Bonev
707210ae95
Ability to change working directory via a CLI flag
...
Signed-off-by: Dimitar Bonev <dimitar.bonev@gmail.com>
2017-03-08 14:42:14 -08:00
Joffrey F
ac12ab95c4
Rename COMPOSE_FILE_SEPARATOR -> COMPOSE_PATH_SEPARATOR
...
Add unit test
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-03-08 14:30:15 -08:00
Joffrey F
d5a2d37d05
Properly resolve build args against host environment values
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-03-07 18:13:11 -08:00
Dat Tran
449dcc9d7b
support --build-arg for build command
...
Signed-off-by: Dat Tran <dattran.vn01@gmail.com>
2017-03-07 17:09:35 -08:00
Joffrey F
dd4e49ef98
Merge pull request #4563 from shin-/3723-mem-reservation
...
Add mem_reservation option to service config in 2.0 and 2.1 formats
2017-03-07 15:23:22 -08:00
Joffrey F
e344fe9a9f
Merge pull request #4566 from shin-/eddwardo-run-v
...
Add --volumes flag to docker-compose run
2017-03-07 15:22:51 -08:00
Joffrey F
01fa147183
Merge pull request #4040 from rawkode/feature/allow-running-containers-to-be-deleted
...
Allowing running containers to be rm'd by stop flag
2017-03-06 18:34:19 -08:00
Joffrey F
0167aba2b7
Merge pull request #4541 from shin-/4502-expanded-port-syntax
...
Add support for expanded port syntax in 3.1 format
2017-03-06 18:32:52 -08:00
Joffrey F
d75726db21
Merge pull request #4561 from shin-/JesusTinoco-3501-add-image-command-option
...
Add images command
2017-03-06 18:28:34 -08:00
Joffrey F
4dca6adeb1
Merge pull request #4562 from shin-/lindt-bugfix/unnamed_volumes_do_not_support_mode_suffix
...
Do not add mode to anonymous volumes in config output
2017-03-06 18:21:36 -08:00
Joffrey F
ec252350ae
Add mem_reservation option to service config in 2.0 and 2.1 formats
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-03-06 18:21:03 -08:00
Joffrey F
bf7c2bc0f8
Use create_host_file in run -v tests to ensure file availability
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-03-06 18:13:16 -08:00
Joffrey F
b454268f93
Merge pull request #4565 from shin-/onorua-pids-limit
...
Add pids_limit to service config
2017-03-06 18:09:53 -08:00
Joffrey F
8f8678987b
Improve readability of code and output for the images command
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-03-06 15:56:41 -08:00
Joffrey F
83728d2bcc
Do not add mode in volume representation if it's not a host binding
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-03-06 14:43:29 -08:00
Joffrey F
b6fb3f2634
pids_limit not yet supported for swarm services - removing from v3 format
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-03-06 14:32:04 -08:00
Joffrey F
7512dccaa8
Add dns_opt to 2.1 schema
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-03-06 13:28:52 -08:00
George Lester
c7b8278e78
Implemented dns_opt
...
Signed-off-by: George Lester <glester491@gmail.com>
2017-03-03 15:37:21 -08:00
Piotr Szymanski
83388ec31a
enable -v flag for docker-compose run command
...
Give user ability to attach volumes while running containers with
docker-compose run command. Example is given in the test implementation,
command is compatible with the one provided by docker engine.
Signed-off-by: Piotr Szymanski <skyleton@gmail.com>
2017-03-02 16:50:24 -08:00
Yaroslav Molochko
6a151aac04
introducing pids_limit, fix for #4178
...
Signed-off-by: Yaroslav Molochko <y.molochko@anchorfree.com>
2017-03-02 16:44:26 -08:00