diff --git a/client.go b/client.go index 76a1ac07c0..814c537c65 100644 --- a/client.go +++ b/client.go @@ -3,7 +3,7 @@ Package client is a Go client for the Docker Remote API. The "docker" command uses this package to communicate with the daemon. It can also be used by your own Go applications to do anything the command-line interface does -– running containers, pulling images, managing swarms, etc. +- running containers, pulling images, managing swarms, etc. For more information about the Remote API, see the documentation: https://docs.docker.com/engine/reference/api/docker_remote_api/ @@ -58,7 +58,7 @@ import ( ) // DefaultVersion is the version of the current stable API -const DefaultVersion string = "1.25" +const DefaultVersion string = "1.26" // Client is the API client that performs all operations // against a docker server. diff --git a/request.go b/request.go index ac05363655..f15e380339 100644 --- a/request.go +++ b/request.go @@ -165,7 +165,7 @@ func (cli *Client) doRequest(ctx context.Context, req *http.Request) (serverResp // daemon on Windows where the daemon is listening on a named pipe // `//./pipe/docker_engine, and the client must be running elevated. // Give users a clue rather than the not-overly useful message - // such as `error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.25/info: + // such as `error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.26/info: // open //./pipe/docker_engine: The system cannot find the file specified.`. // Note we can't string compare "The system cannot find the file specified" as // this is localised - for example in French the error would be