Skip to content

Fix broken builds #254

@dhui

Description

@dhui

Describe the Bug
CI builds are broken due to docker client/server API mismatches.
We're currently getting the following error message when pulling docker images: Error response from daemon: client version 1.39 is too new. Maximum supported API version is 1.38

Steps to Reproduce
Run a build on Travis CI.
Example: https://travis-ci.com/golang-migrate/migrate/builds/120554304

Expected Behavior
Docker images should be pulled w/o any issues and builds should succeed

Migrate Version
N/A

Loaded Source Drivers
N/A

Loaded Database Drivers
N/A

Go Version
N/A

Stacktrace
N/A

Additional context
Need to use docker version 18.09 at minimum to support API version 1.39
https://docs.docker.com/develop/sdk/#api-version-matrix

Could fix by:

  1. installing a newer version of docker in Travis:
    https://docs.travis-ci.com/user/docker/#installing-a-newer-docker-version
  2. Using CircleCI and specifying docker version 18.09.3: https://circleci.com/docs/2.0/building-docker-images/#docker-version

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions