Joffrey F
6f65908910
Merge remote-tracking branch 'origin/release' into bump-1.21.0-rc1
2018-03-30 15:32:01 -07:00
Joffrey F
4813494717
Merge pull request #5767 from docker/5402-lcow-support
...
Add 2.4 file format with platform support (build/pull)
2018-03-30 15:30:02 -07:00
Joffrey F
e6420bd011
Update 2.4 schema
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-03-30 12:41:19 -07:00
Joffrey F
520f5d0fde
Add 2.4 file format with platform support. Also reads DOCKER_DEFAULT_PLATFORM env
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-03-30 12:39:10 -07:00
Joffrey F
54c535d2f1
Merge pull request #5839 from docker/5744-build-isolation
...
Add support for build isolation parameter
2018-03-30 12:35:18 -07:00
Joffrey F
9708b2570f
Merge pull request #5843 from docker/bump_sdk
...
Bump SDK -> 3.2.1
2018-03-30 11:48:03 -07:00
Joffrey F
24a4e312dc
Bump SDK -> 3.2.1
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-03-30 11:30:13 -07:00
Joffrey F
070474acae
Fix unit tests
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-03-29 17:21:47 -07:00
Joffrey F
2e100353d3
Add support for build isolation parameter
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-03-29 16:57:07 -07:00
Joffrey F
bc6b091bff
Merge pull request #5838 from docker/bump_sdk
...
Bump docker SDK -> 3.2.0
2018-03-29 16:56:30 -07:00
Joffrey F
e19fa1ad4d
Bump docker SDK -> 3.2.0
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-03-29 16:32:15 -07:00
Joffrey F
1e9a66c75b
Merge pull request #5836 from docker/4399-overlay-ensure
...
Ignore NotFound for external overlay networks
2018-03-29 11:08:02 -07:00
Joffrey F
344003a2f9
Ignore NotFound for external overlay networks
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-03-28 16:49:00 -07:00
Joffrey F
8d96980ba4
Merge pull request #5833 from docker/5826-load_retry_utf8
...
On load error, retry reading the file with UTF-8 encoding
2018-03-28 11:45:04 -07:00
Joffrey F
46191fe07b
Merge pull request #5831 from docker/5829-no-fallthrough
...
Avoid fallthrough with empty defaults
2018-03-27 12:41:07 -07:00
Joffrey F
90c57f99e8
On load error, retry reading the file with UTF-8 encoding
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-03-27 12:37:21 -07:00
Joffrey F
71d40c2a9b
Avoid fallthrough with empty defaults
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-03-27 11:10:30 -07:00
Joffrey F
7e787a8c15
Merge pull request #5822 from brainlock/fix-gh-5179
...
fix race condition in Service.create_container()
2018-03-27 09:24:40 -07:00
Alberto Piai
394c8efe98
fix race condition in Service.create_container()
...
The Service.create_container() method fetches a list of the current
containers in order to determine the next container number. In doing so,
it makes several API calls: one to fetch the list of containers, then
one per container in order to inspect it.
In some situations it can happen that a container is removed after
having been listed: in that case, the call to inspect will get a 404 and
raise a NotFound.
One situation in which this has been observed is when trying to
concurrently create multiple one-off containers for the same service
(using `docker-compose run` and a unique `--name`), as described in
more detail in gh-5179.
This patch adds a unit test that simulates the race between the
calls to list and to inspect, and changes Service._next_container_number
to skip removed containers instead of blowing up.
Fixes gh-5179
Signed-off-by: Alberto Piai <apiai@sensational.ch>
2018-03-27 10:21:15 +02:00
Joffrey F
771a1382bd
Merge pull request #5819 from docker/5433-build-zip
...
Add --compress option to build command
2018-03-27 00:52:06 +02:00
Joffrey F
408781906c
Merge pull request #5825 from docker/5824-shorthand-host-eq
...
Support -H=host notation for interactive run/execs
2018-03-27 00:06:03 +02:00
Joffrey F
cbb9bff924
Support -H=host notation for interactive run/execs
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-03-26 14:25:31 -07:00
Joffrey F
7d68d4bb44
missing "is"
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-03-23 18:03:08 +01:00
Joffrey F
36e6466855
pull_request_template.md
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-03-23 18:02:16 +01:00
Joffrey F
4e97e0fd41
Add issue / PR templates ( fixes #5795 )
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-03-23 17:59:22 +01:00
Joffrey F
255d16d7fa
Add --compress option to build command
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-03-23 17:05:15 +01:00
Joffrey F
d74154781a
Merge pull request #5817 from docker/5815-libgcc-dep
...
Add libgcc dependency for Compose in a container
2018-03-23 14:29:26 +01:00
Joffrey F
166f355efb
Add libgcc dependency for Compose in a container
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-03-23 14:08:06 +01:00
Joffrey F
a2f685927a
Merge pull request #5812 from docker/bump-1.20.1
...
Bump 1.20.1
2018-03-21 16:36:54 +01:00
Joffrey F
85b8df4112
Merge pull request #5811 from docker/bump_sdk
...
Bump Docker python SDK -> 3.1.4
2018-03-21 14:56:56 +01:00
Joffrey F
5d8c71b2c6
Bump 1.20.1
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-03-21 14:52:08 +01:00
Joffrey F
e5ce2e6c07
Bump Docker python SDK -> 3.1.4
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-03-21 14:52:08 +01:00
Joffrey F
b7ab358c54
Merge remote-tracking branch 'origin/release' into bump-1.20.1
2018-03-21 14:45:44 +01:00
Joffrey F
db10ef2624
Bump Docker python SDK -> 3.1.4
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-03-21 14:40:21 +01:00
Joffrey F
679d3555a2
1.21.0-dev
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-03-20 16:10:08 +01:00
Joffrey F
f7aa4a619f
Merge branch 'release'
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-03-20 16:08:34 +01:00
Joffrey F
de00770d60
Merge pull request #5807 from docker/bump-1.20.0
...
Bump 1.20.0
2018-03-20 15:23:21 +01:00
Joffrey F
ca8d3c6c18
Bump 1.20.0
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-03-20 15:10:49 +01:00
Joffrey F
80ce4eafa7
pip3?
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-03-20 15:10:49 +01:00
Joffrey F
538e982c93
Bump Docker SDK -> 3.1.3
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-03-20 14:55:41 +01:00
Joffrey F
fd94fab264
Manage encoding errors in progress_stream
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-03-20 14:55:23 +01:00
Joffrey F
fd43dfba25
Merge remote-tracking branch 'origin/release' into bump-1.20.0
2018-03-20 14:51:57 +01:00
Joffrey F
80106e1711
Merge pull request #5805 from docker/bump_sdk
...
Bump Docker SDK -> 3.1.3
2018-03-20 12:58:25 +01:00
Joffrey F
25c048fd0a
Bump Docker SDK -> 3.1.3
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-03-20 12:15:51 +01:00
Joffrey F
876e1ba8d5
Merge pull request #5798 from mnottale/cpu-rt
...
Add support for cpu_rt_period and cpu_rt_runtime.
2018-03-19 06:51:25 -07:00
Joffrey F
6c7c7902f1
Merge pull request #5788 from mnottale/dash-underscore-in-project-name
...
Allow dash and underscore in project name.
2018-03-19 05:33:21 -07:00
Joffrey F
1c314a8757
Merge pull request #5792 from dakotahawkins/dakotahawkins-5790_update-docker-compose.ps1
...
Add update-docker-compose.ps1 to contrib/update/
2018-03-19 05:25:11 -07:00
Joffrey F
4a75fc7bbc
Merge pull request #5787 from mnottale/pull-parallel-by-default
...
Pull parallel by default
2018-03-19 05:19:32 -07:00
Matthieu Nottale
16ea49ac8c
Add support for cpu_rt_period and cpu_rt_runtime.
...
Signed-off-by: Matthieu Nottale <matthieu.nottale@docker.com>
2018-03-19 13:18:35 +01:00
Joffrey F
060d193168
Merge pull request #5785 from g0t4/master
...
Fix docker-compose zsh running service name completion when using custom psFormat
2018-03-19 05:15:41 -07:00