You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 20, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: prog/weaveutil/main.go
+2
Original file line number
Diff line number
Diff line change
@@ -90,6 +90,8 @@ func usage() {
90
90
forcmd:=rangecommands {
91
91
fmt.Fprintln(os.Stderr, cmd)
92
92
}
93
+
fmt.Fprintln(os.Stderr)
94
+
fmt.Fprintf(os.Stderr, "Set an environment variable called DOCKER_API_VERSION to control the API version used.\nDefault is: %v\n", defaulDockerAPIVersion)
Copy file name to clipboardExpand all lines: reweave/CHANGELOG.md
+16-1
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,22 @@
2
2
3
3
All changes made to the weave net codebase during the reweave effort will be documented in this file.
4
4
5
-
## 2.8.2 latest
5
+
## latest
6
+
7
+
### Changed
8
+
9
+
* The docker API client version, used by the proxy package and the weaveutil command, was bumped from 1.18 to 1.24. As of March 2024, Docker API versions below 1.24 are deprecated. This means that the minimum supported Docker version is now 1.12.0
10
+
11
+
### Added
12
+
13
+
* Provision was made in weaveutil program and the weave script to override the API version used, via the environment variable `DOCKER_API_VERSION`. The same variable is used by standard docker clients
14
+
15
+
### Fixed
16
+
17
+
* Fixed `proxy.go` in the proxy package to handle changes in the Docker API. In the 1.24 API, container objects expose a `.Mounts` property rather than a `.Volumes` property.
18
+
* The `weave` script was modified to add a `-t` switch when invoking functionality inside a container. This ensures that output is visible even when using the Weave docker proxy
0 commit comments