Skip to content
This repository was archived by the owner on Jan 24, 2018. It is now read-only.
This repository was archived by the owner on Jan 24, 2018. It is now read-only.

Package docker-py versus docker, what to do in the future? #274

Description

@misolietavec

In this repository, we use docker-py (in requirements.txt, or in Dockerfile-alpine). This is older package, last version 1.10.6 on pypi is from 2016-11-02. The newer package is called docker (newest ver. 2.2.1 from 2017-03-28). Besides the ambiguous name, docker package is incompatible with docker-py.

I cannot find the list of incompatible changes, maybe someone will have better luck. I tried to use docker instead of docker-py in Dockerfile-alpine and got a lengthy trace of errors, ending with such "suggestion":
TypeError: 'ContainerCollection' object is not callable. You might be trying to use the old (pre-2.0) API - use docker.APIClient if so.

If developers decide to use docker package in the future, the codebase here needs to be adapted. Maybe, this is not a big task, but I am unable to do it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions