Harald Albers
0f41e07a5c
Add bash completion for up {--always-recreate-deps,--renew-anon-volumes}
...
Signed-off-by: Harald Albers <github@albersweb.de>
2018-01-25 18:25:51 -08:00
Harald Albers
6f48f5db4c
Add bash completion for ps --services --filter
...
Signed-off-by: Harald Albers <github@albersweb.de>
2018-01-16 14:31:28 +01:00
Joffrey F
c4fda0834d
Merge pull request #5384 from ilinum/1498-docker-compose-services
...
Implement --filter flag for docker-compose config --services and use it in bash completion
2018-01-09 17:02:04 -08:00
Svyatoslav Ilinskiy
a1f0c3ed7c
Rename ps --filter
option from key
to source
.
...
Signed-off-by: Svyatoslav Ilinskiy <ilinskiy.sv@gmail.com>
2018-01-09 10:57:06 -06:00
Harald Albers
bb42537bcf
Add bash completion for down --timeout
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-12-07 17:49:39 +01: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
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
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
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
Harald Albers
9b06bdc34a
Add bash completion for up --no-start
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-10-19 14:27:25 -07:00
Harald Albers
ff05f1ed15
Add bash completion for create --build
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-08-25 15:46:57 -07:00
Harald Albers
28e1c85c3b
Add bash completion for --no-ansi
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-08-25 15:46:34 -07:00
Harald Albers
b8719c4b11
Add bash completion for pull --quiet
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-07-20 17:07:45 -07:00
Harald Albers
16bbe5d99c
Add docker-compose exec -u to docs and completion
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-05-11 18:19:01 +02:00
Harald Albers
0dc25f1cdf
Add bash completion for docker-compose up --scale
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-04-25 13:19:22 +02:00
Joffrey F
d1a23cee85
Merge pull request #4641 from albers/completion-pull--parallel
...
Add bash completion for `pull --parallel`
2017-03-20 11:36:29 -07:00
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
Harald Albers
0cf5f28f17
Add bash completion for pull --parallel
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-20 16:37:41 +01: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
61b4d9d001
Merge pull request #4626 from albers/completion--project-directory
...
Add bash completion for `--project-directory`
2017-03-16 14:58:52 -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
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
682b5b7480
Merge pull request #4586 from albers/completion-run--volume
...
Add bash completion for `run --volume`
2017-03-08 14:35:20 -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
Jesus Tinoco
33f510b340
3501 - Add a new command option (images)
...
Signed-off-by: Jesus Rodriguez Tinoco <jesus.rodriguez.tinoco@gmail.com>
2017-03-02 15:00:55 -08:00
Joffrey F
6986a994a8
Merge branch 'forward-exit' of https://github.com/TheClimateCorporation/compose into TheClimateCorporation-forward-exit
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-03-01 18:04:48 -08:00
Joffrey F
284e3cfae9
Merge pull request #4289 from allandequeiroz/master
...
Fixing bash path problem.
2017-03-01 17:43:22 -08:00
Nathan J. Mehl
cffb76d4d9
Address comments
...
- set flag name to `--exit-code-from` (and rename some variable,
function and test names to match)
- force cascade_stop to true when exit-code-from flag is set
- use lambda in filter statement
- check that selected container name is in the project before running
- remove fancy parsing of service name to container mappings: if there
are multiple containers in a service, return the first nonzero exit
value if any
- flake8 changes
Signed-off-by: Nathan J. Mehl <n@climate.com>
2017-02-27 09:51:03 -08:00
Nathan J. Mehl
a73190e1cc
Add support for returning the exit value of a specific container
...
Current best practice for using docker-compose as a tool for continuous
integration requires fragile shell pipelines to query the exit status
of composed containers, e.g.:
http://stackoverflow.com/questions/29568352/using-docker-compose-with-ci-how-to-deal-with-exit-codes-and-daemonized-linked
http://blog.ministryofprogramming.com/docker-compose-and-exit-codes/
This PR adds a `--forward-exitval <container>` flag that allows
`docker-compose up` to return the exit value of a specified container.
The container may optionally have a number specified (foo_2) otherwise
the first is defaulted to.
Signed-off-by: Nathan J. Mehl <n@climate.com>
2017-02-27 08:37:11 -08:00
Harald Albers
2943d2e61d
Activate bash completion for Windows executable
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-23 14:41:08 +01:00
Harald Albers
39b2c6636e
Fix treatment of global arguments in bash completion
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-21 17:54:20 +01:00
Peter Urda
a67500ee57
Added top
to docker-compose
to display running processes.
...
This commit allows `docker-compose` to access `top` for containers
much like running `docker top` directly on a given container.
This commit includes:
* `docker-compose` CLI changes to expose `top`
* Completions for `bash` and `zsh`
* Required testing for the new `top` command
Signed-off-by: Peter Urda <peter.urda@gmail.com>
2017-02-01 15:42:30 -08:00
Allan de Queiroz
f01ecda83c
Fixing bash path problem, avoiding 'docker-compose-completion.sh: bash: bad interpreter: No such file or directory' error
...
Signed-off-by: Allan de Queiroz <allandequeiroz@gmail.com>
2017-01-04 11:45:44 +00:00
Aanand Prasad
6633f1962c
Shell completion for --push-images
...
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2016-07-27 16:00:53 +01:00
Harald Albers
622de27c1e
bash completion for docker-compose bundle --fetch-digests
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-06-29 08:45:36 -07:00
Joffrey F
93cc2675c8
Merge pull request #3625 from albers/completion-bundle
...
bash completion for `docker-compose bundle`
2016-06-28 15:52:37 -07:00
Harald Albers
f49b624d95
bash completion for docker-compose push
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-06-22 17:19:20 +02:00
Harald Albers
e5c5dc09f8
bash completion for docker-compose bundle
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-06-22 17:06:30 +02:00
Harald Albers
c46737ed02
remove command completion for docker-compose rm --a
...
As `--all|-a` is deprecated, there's no use to suggest it any
more in command completion.
Signed-off-by: Harald Albers <github@albersweb.de>
2016-05-26 12:48:53 -07:00
Joffrey F
d78b013bb0
Merge pull request #3204 from albers/completion-rm--all
...
bash completion for `docker-compose rm --all`
2016-03-24 10:44:36 -07:00
Joffrey F
aabeb56527
Merge pull request #3206 from albers/completion-exec
...
bash completion for `docker-compose exec`
2016-03-24 10:44:19 -07:00
Harald Albers
c9b02b7b34
bash completion for docker-compose exec
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-03-24 18:02:12 +01:00
Joffrey F
87231a25be
Merge pull request #3202 from albers/completion-logs
...
bash completion for new `docker logs` options
2016-03-24 09:56:12 -07:00
Harald Albers
b030c3928a
bash completion for docker-compose rm --all
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-03-24 17:29:04 +01:00
Harald Albers
5416e4c99b
bash completion for docker-compose up --build
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-03-24 17:21:56 +01:00