Joffrey F
566cd1b1e4
Merge pull request #4640 from albers/completion-up--exit-code-from
...
Fix bash completion for `up --exit-code-from`
2017-03-20 11:36:07 -07:00
Joffrey F
d40b6c02a3
Merge pull request #4637 from albers/completion-config--new-options
...
Add bash completion for `config --resolve-image-digests|--volumes"`
2017-03-20 11:35:29 -07:00
Harald Albers
02c294ee28
Fix bash completion for `up --exit-code-from`
...
`--exit-code-from` requires an argument.
Also corrected sort order.
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-20 16:28:02 +01:00
Harald Albers
5fdbd5026a
Add bash completion for `config --resolve-image-digests|--volumes"`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-19 08:00:35 -07:00
Joffrey F
9d2c6f156b
Merge pull request #4333 from ucalgary/4332-config-image-digests
...
Add --resolve-image-digests option to docker-compose config command
2017-03-18 15:41:43 -07:00
King Chung Huang
962ba5b937
Extract image tag to digest code into a function
...
Extract the code in bundle() and config() that translates image tags
into digests into a function named image_digests_for_project().
Signed-off-by: King Chung Huang <kinghuang@mac.com>
2017-03-17 12:23:40 -06: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
King Chung Huang
1da3ac4715
Add --resolve-image-digests argument to config command
...
Add a --resolve-image-digests argument to the config command that pins
images to a specific image digest, just like the bundle command. This
can be used to pin images in compose files being used to deploy stacks
in Docker 1.13.
Signed-off-by: King Chung Huang <kinghuang@mac.com>
2017-03-17 12:21:28 -06:00
King Chung Huang
1a7e01c39a
Add image digest arguments to config serialization
...
Add arguments for image digests in the config.serialize module to
optionally pin images to digests, like bundles.
Signed-off-by: King Chung Huang <kinghuang@mac.com>
2017-03-17 12:19:13 -06:00
Joffrey F
73aff2b50f
Merge pull request #4621 from shin-/3880-handle-broken-pipe
...
Do not raise a broken pipe error when receiving SIGPIPE
2017-03-16 14:59:23 -07:00
Joffrey F
61b4d9d001
Merge pull request #4626 from albers/completion--project-directory
...
Add bash completion for `--project-directory`
2017-03-16 14:58:52 -07:00
Joffrey F
eaee7aa5d0
Merge pull request #4625 from albers/completion-build--build-arg
...
Add bash completion for `build --build-arg`
2017-03-16 14:58:25 -07:00
Joffrey F
b26562147c
Merge pull request #4616 from dnephin/update-schema-v3.2
...
Synchronize the schema with docker/docker
2017-03-16 12:46:19 -07:00
Harald Albers
6a773a018e
Rename variables in bash completion
...
The old names were supposed to designate variables that get propagated
to the Docker daemon. This is not true for all contained options and
therefore confused me.
The new names focus on the placement after the top level command.
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-16 16:05:19 +01:00
Harald Albers
de2dd5b3d3
Add bash completion for `--project-directory`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-16 15:47:01 +01:00
Harald Albers
583c673c8a
Add bash completion for `build --build-arg`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-16 11:37:06 +01:00
Joffrey F
7b19009511
Fix a handful of issues with 3.2 schema
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-03-15 17:11:53 -07:00
Daniel Nephin
2acf286ed6
Support V3.2
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-03-15 11:40:31 -04:00
Daniel Nephin
0ba1f61e9b
Add schema for v3.2, and revert some changes made to v3.1 after it was released.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-03-15 11:38:20 -04:00
Joffrey F
56357d6117
Do not raise a broken pipe error when receiving SIGPIPE from grep or head
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-03-14 14:21:19 -07: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
ac7693b92b
Merge pull request #4604 from shin-/4584-interpolate-secrets
...
Interpolate secrets
2017-03-14 13:55:49 -07:00
Joffrey F
1e42061355
Merge pull request #4615 from shin-/4563-missing-comma
...
Add missing comma in DOCKER_CONFIG_KEYS
2017-03-14 13:55:27 -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
a2e32b8166
Add missing comma in DOCKER_CONFIG_KEYS
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-03-13 11:23:17 -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
7675553533
Merge pull request #4588 from shin-/hholst80-feature/compose-file-separator
...
Add environment variable to configure custom path separator when parsing COMPOSE_FILE entry
2017-03-09 15:35:44 -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
1c3b0210e9
Merge pull request #4592 from albers/completion-rm--stop
...
Add bash completion for `docker-compose rm --stop`
2017-03-09 14:39:08 -08:00
Harald Albers
ba0468395b
Add bash completion for `docker-compose rm --stop`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-09 10:31:29 +01: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
682b5b7480
Merge pull request #4586 from albers/completion-run--volume
...
Add bash completion for `run --volume`
2017-03-08 14:35:20 -08:00
Joffrey F
79d2f4d1e3
Merge pull request #4587 from albers/fix-completion-images
...
Fix bash completion for `docker-compose images`
2017-03-08 14:34:52 -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
Henrik Holst
1899eac2ba
Fixes https://github.com/docker/compose/issues/4099
...
Signed-off-by: Henrik Holst <holst@matmech.com>
2017-03-08 14:22:40 -08:00
Joffrey F
05e1b3aa1d
Merge pull request #4564 from shin-/dattran-vn01-issue/3790-support-build-arg-for-build-command
...
support --build-arg for build command
2017-03-08 14:17:21 -08:00
Harald Albers
38087a2888
Fix bash completion for `docker-compose images`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-08 13:07:25 -08:00
Harald Albers
0652530ee9
Add bash completion for `run --volume`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-08 12:49:31 -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