Skip to content

400 Client Error: Bad Request #5

@ehsanmostajeran

Description

@ehsanmostajeran

Hi,
I am interested to use docker-sync. I have followed instruction to run it.
Unfortunately I get an error when I run it. Here is the error I get.
Traceback (most recent call last):
File "/usr/local/bin/docker-sync", line 6, in
sync()
File "/usr/local/lib/python2.7/dist-packages/docker_sync/cli.py", line 43, in sync
remove_delay=parsed_args.remove_delay,
File "/usr/local/lib/python2.7/dist-packages/docker_sync/Manager.py", line 90, in main
containers = DOCKER.getContainers()
File "/usr/local/lib/python2.7/dist-packages/docker_sync/lib/DockerSyncWrapper.py", line 74, in getContainers
for cont in self.client.containers(all=True):
File "/usr/local/lib/python2.7/dist-packages/docker/api/container.py", line 70, in containers
res = self._result(self._get(u, params=params), True)
File "/usr/local/lib/python2.7/dist-packages/docker/client.py", line 158, in _result
self._raise_for_status(response)
File "/usr/local/lib/python2.7/dist-packages/docker/client.py", line 154, in _raise_for_status
raise errors.APIError(e, response, explanation=explanation)
docker.errors.APIError: 400 Client Error: Bad Request ("client version 1.8 is too old. Minimum supported API version is 1.23, please upgrade your client to a newer version")

I appreciate if you could guide me about it.

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