Skip to content

Commit

Permalink
Raise minimum Docker version to 1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsauter committed Nov 20, 2017
1 parent 98f1a7a commit 569534e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
* Do not try to connect containers with the default network when none
has been setup (which is the case when prefixing is disabled).

* Raise minimum Docker version to 1.13, as this is the first version to
support `docker create --rm`, which is needed since 3.3.0 to run
ad-hoc commands.

## 3.3.0 (2017-11-19)

* **Caution!** Enable prefixing by default again. This restores 3.0 behaviour and makes Crane more compatible with docker-compose. If you don't want this, configure `prefix: false`. However, doing this will also disable the new, automatic `default` network described in the next section.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Please see [www.craneup.tech](https://www.craneup.tech?utm_source=github&utm_med

## Installation

The latest release is 3.3.0 and requires Docker >= 1.10.
The latest release is 3.3.0 and requires Docker >= 1.13.
Please have a look at the [changelog](https://github.com/michaelsauter/crane/blob/master/CHANGELOG.md) when upgrading.

The free version can be installed via:
Expand Down
2 changes: 1 addition & 1 deletion crane/crane.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func handleRecoveredError(recovered interface{}) {
os.Exit(statusError.status)
}

var requiredDockerVersion = []int{1, 6}
var requiredDockerVersion = []int{1, 13}

func RealMain() {
// On panic, recover the error, display it and return the given status code if any
Expand Down

0 comments on commit 569534e

Please sign in to comment.