Skip to content

Commit 07ea20e

Browse files
committed
Bump 1.2.0
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
1 parent 1f06070 commit 07ea20e

4 files changed

Lines changed: 30 additions & 3 deletions

File tree

CHANGES.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,33 @@
11
Change log
22
==========
33

4+
1.2.0rc1 (2015-03-23)
5+
---------------------
6+
7+
This is a release candidate for Compose 1.2.0.
8+
9+
- `docker-compose.yml` now supports an `extends` option, which enables a service to inherit configuration from another service in another configuration file. This is really good for sharing common configuration between apps, or for configuring the same app for different environments. Here's the [documentation](https://github.com/docker/compose/blob/master/docs/yml.md#extends).
10+
11+
- When using Compose with a Swarm cluster, containers that depend on one another will be co-scheduled on the same node. This means that most Compose apps will now work out of the box, as long as they don't use `build`.
12+
13+
- Repeated invocations of `docker-compose up` when using Compose with a Swarm cluster now work reliably.
14+
15+
- Filenames in `env_file` and volume host paths in `volumes` are now treated as relative to the *directory of the configuration file*, not the directory that `docker-compose` is being run in. In the majority of cases, those are the same, but if you use the `-f|--file` argument to specify a configuration file in another directory, **this is a breaking change**.
16+
17+
- A service can now share another service's network namespace with `net: container:<service>`.
18+
19+
- `volumes_from` and `net: container:<service>` entries are taken into account when resolving dependencies, so `docker-compose up <service>` will correctly start all dependencies of `<service>`.
20+
21+
- Problems with authentication when using images from third-party registries have been fixed.
22+
23+
- `docker-compose run` now accepts a `--user` argument to specify a user to run the command as, just like `docker run`.
24+
25+
- The `up`, `stop` and `restart` commands now accept a `--timeout` (or `-t`) argument to specify how long to wait when attempting to gracefully stop containers, just like `docker stop`.
26+
27+
- `docker-compose rm` now accepts `-f` as a shorthand for `--force`, just like `docker rm`.
28+
29+
Thanks, @abesto, @albers, @alunduil, @dnephin, @funkyfuture, @gilclark, @IanVS, @KingsleyKelly, @knutwalker, @thaJeztah and @vmalloc!
30+
431
1.1.0 (2015-02-25)
532
------------------
633

compose/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from __future__ import unicode_literals
22
from .service import Service # noqa:flake8
33

4-
__version__ = '1.1.0'
4+
__version__ = '1.2.0rc1'

docs/completion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ On a Mac, install with `brew install bash-completion`
1717

1818
Place the completion script in `/etc/bash_completion.d/` (`/usr/local/etc/bash_completion.d/` on a Mac), using e.g.
1919

20-
curl -L https://raw.githubusercontent.com/docker/compose/1.1.0/contrib/completion/bash/docker-compose > /etc/bash_completion.d/docker-compose
20+
curl -L https://raw.githubusercontent.com/docker/compose/1.2.0rc1/contrib/completion/bash/docker-compose > /etc/bash_completion.d/docker-compose
2121

2222
Completion will be available upon next login.
2323

docs/install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ First, install Docker version 1.3 or greater:
2020

2121
To install Compose, run the following commands:
2222

23-
curl -L https://github.com/docker/compose/releases/download/1.1.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
23+
curl -L https://github.com/docker/compose/releases/download/1.2.0rc1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
2424
chmod +x /usr/local/bin/docker-compose
2525

2626
Optionally, you can also install [command completion](completion.md) for the

0 commit comments

Comments
 (0)