Commit Graph

4752 Commits

Author SHA1 Message Date
Matthieu Nottale 31dcfcff2a Revamp ParallelStreamWriter to fix display issues.
Signed-off-by: Matthieu Nottale <matthieu.nottale@docker.com>
2018-03-07 15:22:38 +01:00
Joffrey F eee55231b8
Merge pull request #5750 from docker/bump_docker_py
SDK version 3.1.1
2018-03-05 15:55:48 -08:00
Joffrey F d9e023f79f SDK version 3.1.1
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-03-05 15:38:42 -08:00
Joffrey F 045d64f1fd
Merge pull request #5734 from albers/new-completions
Add support for options added in 1.20.0 to bash completion
2018-03-02 16:15:23 -08:00
Joffrey F 1f84463061
Merge pull request #5748 from docker/fix-brew-python
Fix brew python install command
2018-03-02 15:52:22 -08:00
Joffrey F efd3d1db06 Install both versions of python
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-03-02 15:45:37 -08:00
Joffrey F 38f7fdfe89
Merge pull request #5709 from mnottale/exec-workdir
Add '--workdir' option to 'exec'.
2018-03-02 15:28:07 -08:00
Joffrey F 0156dd6b27
Merge pull request #5735 from mnottale/parallelstreamwriter-race
Fix a race condition in ParallelStreamWriter.
2018-03-02 15:25:01 -08:00
Matthieu Nottale 17610e8d19 Fix a race condition in ParallelStreamWriter.
Signed-off-by: Matthieu Nottale <matthieu.nottale@docker.com>
2018-03-01 17:09:01 +01:00
Harald Albers 7049bea1bb Add support for options added in 1.20.0 to bash completion
New options:
- `docker-compose --log-level`
- `docker-compose pull --include-deps`
- `docker-compose run --use-aliases`

Signed-off-by: Harald Albers <github@albersweb.de>
2018-03-01 16:04:13 +01:00
Joffrey F 4ceeaad089
Merge pull request #5725 from docker/geigerzaehler-run-with-network-alias
Add --use-aliases flag to run command
2018-02-27 14:01:09 -08:00
Joffrey F 4444293c61
Merge pull request #5724 from docker/ghsatpute-5582_UnsetEntrypoint
Allow unsetting entrypoint in run command
2018-02-27 13:49:22 -08:00
Joffrey F 07199fac37 Restore container ID alias
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-02-27 13:46:27 -08:00
Joffrey F 1096a903be unset entrypoint test
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-02-27 13:25:52 -08:00
Jim Dalton e78c0bf533 Add acceptance test for use-aliases feature
Signed-off-by: Jim Dalton <jim.dalton@gmail.com>
2018-02-27 13:13:50 -08:00
Thomas Scholtes 5b6e02d13a 'run' command can use network aliases for service
It is now possible for the 'run' command to use the network aliases
defined for the service.

Fixes #3492

Signed-off-by: Thomas Scholtes <thomas-scholtes@gmx.de>
2018-02-27 13:13:50 -08:00
Ganesh Satpute 59c8ed77e4 Allow unset of entrypoint (resolves #5582)
When an empty string is passed to the 'entrypoint' parameter, for example
`docker-compose run --entrypoint='' ...`
OR
`docker-compose run --entrypoint '' ...`
It allows the default entrypoint to be overriden by empty value.

Signed-off-by: Ganesh Satpute <ghsatpute@gmail.com>
2018-02-27 13:02:05 -08:00
Joffrey F 9b2efd50f5
Merge pull request #5722 from docker/5700-call-docker-with-args
Re-use TLS and host options when shelling out to docker CLI
2018-02-27 12:27:49 -08:00
Joffrey F a7d1fada52 Unify toplevel command handlers
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-02-27 11:57:25 -08:00
Joffrey F 7ce5766f6a Re-use TLS and host options when shelling out to docker CLI
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-02-27 11:14:28 -08:00
Joffrey F 2578813147
Merge pull request #5706 from docker/5601-config-proxy
Use config file-provided proxy values to populate buildargs and env
2018-02-27 10:13:37 -08:00
Joffrey F 57a243786b
Merge pull request #5718 from docker/5622-device-cgroup-rules
Add support for device_cgroup_rules in v2.3 files
2018-02-27 10:13:12 -08:00
Joffrey F a35335a75c Add support for device_cgroup_rules in v2.3 files
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-02-26 14:43:44 -08:00
Joffrey F 37a48073ed
Merge pull request #5701 from docker/5574-seccomp-file
Add support for seccomp files
2018-02-26 11:22:01 -08:00
Joffrey F a6c31b80fe Add support for seccomp files
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-02-26 10:46:10 -08:00
Joffrey F ec0de7eb68
Merge pull request #5684 from docker/compat_mode
Compatibility mode
2018-02-26 10:42:59 -08:00
Joffrey F 5e4700b176 Add proxy_config tests
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-02-23 14:32:43 -08:00
Joffrey F 6659e99aff
Merge pull request #5703 from mnottale/log-level
New --log-level option.
2018-02-23 12:57:32 -08:00
Joffrey F a0cbb68e2f
Merge pull request #5702 from mnottale/up-quiet
Add '--quiet' option to 'up' to pull silently.
2018-02-23 12:55:41 -08:00
Matthieu Nottale 2fed399881 Add '--workdir' option to 'exec'.
Signed-off-by: Matthieu Nottale <matthieu.nottale@docker.com>
2018-02-23 16:57:23 +01:00
Matthieu Nottale 59b08c7d1d New --log-level option.
Signed-off-by: Matthieu Nottale <matthieu.nottale@docker.com>
2018-02-23 13:14:26 +01:00
Matthieu Nottale 5eefa81f9e Add '--quiet' option to 'up' to pull silently.
Signed-off-by: Matthieu Nottale <matthieu.nottale@docker.com>
2018-02-23 11:03:26 +01:00
Joffrey F 551b4b4b31
Merge pull request #5705 from docker/bump_docker_py
Bump SDK version
2018-02-22 16:20:17 -08:00
Joffrey F d4106679a6 Use configfile-provided proxy values to populate buildargs and env values
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-02-22 16:19:50 -08:00
Joffrey F ad683b2d8d Bump SDK version
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-02-22 15:18:18 -08:00
Joffrey F 2fa201660c
Merge pull request #5699 from docker/pantuza-cli-add-detach-option
Add long-form --detach CLI flag
2018-02-22 12:52:28 -08:00
Joffrey F c16820eca0 Update bash completion
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-02-21 17:00:42 -08:00
Joffrey F cd3ffe651b
Merge pull request #5698 from docker/artagnon-build-args-services
Allow buildargs for multi-service builds
2018-02-21 16:59:07 -08:00
Joffrey F c6fe564ed5 Add --detach tests
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-02-21 16:42:49 -08:00
Gustavo Pantuza Coelho Pinto 1833860614 CLI: Add --detach option for up, run and exec commands
This contribution allows the usage of --detach option when running:

docker-compose run --detach
docker-compose exec --detach
docker-compose up --detach

The behavior is the same as the -d option.

Signed-off-by: Gustavo Pantuza Coelho Pinto <gustavopantuza@gmail.com>
2018-02-21 16:09:46 -08:00
Joffrey F 8e268afc93 Add version guard for multi-service buildarg
Add buildarg tests

Signed-off-by: Joffrey F <joffrey@docker.com>
2018-02-21 15:56:02 -08:00
Ramkumar Ramachandra ac209a2485 [cli] Lift artificial limitation on --build-arg
Currently, `docker-compose --build-arg` requires that a service be
specified as part of the command-line invocation. So,

  $ docker-compose build --build-arg nocache=`git rev-parse @` foom

works. However, when using out-of-band scripts to automate the build
process of several Docker containers (in a CI system, for instance), it
becomes difficult to specify exactly which service requires the
build-arg. Docker has supported Dockerfiles that ignore build-args for a
long time, so there is no problem is specifying spurious build-args to
builds that don't consume it.

The limitation on `docker-compose build` today is artificial, and there
are no other commands that require specifying a service. Allow
`--build-arg` to also match all services so this is possible:

  $ docker-compose build --build-arg nocache=`git rev-parse @`

Please refer to #3790 for discussion on the original feature.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2018-02-21 15:24:27 -08:00
Joffrey F 1b3acd0be8
Merge pull request #5697 from docker/5692-restore-default-cert-path-detection
Retrieve certs from default path if not provided explicitly
2018-02-21 14:10:49 -08:00
Joffrey F cd7ccad81e Retrieve certs from default path if not provided explicitly
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-02-21 13:33:27 -08:00
Joffrey F 51076b5e12 Tests for compatibility mode
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-02-16 16:37:20 -08:00
Joffrey F e716643857
Merge pull request #5679 from docker/kcboschert-master
Add optional argument to pull dependencies on docker-compose pull.
2018-02-14 13:44:41 -08:00
kcboschert 64b466c0bc Add optional argument to pull dependencies on docker-compose pull.
Signed-off-by: Kevin Boschert <kcboschert@gmail.com>
2018-02-14 13:11:01 -08:00
Joffrey F db5af97326 Merge branch 'dihmuzikien-5525-ps-show-health' 2018-02-12 12:10:23 -08:00
Sorawis Nilparuk bb16d9e951 Add health string generator to match `docker ps` output 2018-02-12 12:10:05 -08:00
Joffrey F 70b2d3b7cb
Merge pull request #5674 from docker/5673-update-contributing-md
Keep CONTRIBUTING.md information up to date
2018-02-12 12:07:54 -08:00