1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-01-12 04:23:24 +02:00

Merge pull request #795 from pschiffe/dev-api-version

[Dockerapi] Auto detect version of docker server
This commit is contained in:
André Peters 2017-12-07 14:16:45 +01:00 committed by GitHub
commit f8416b83d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ import docker
import signal
import time
docker_client = docker.DockerClient(base_url='unix://var/run/docker.sock')
docker_client = docker.DockerClient(base_url='unix://var/run/docker.sock', version='auto')
app = Flask(__name__)
api = Api(app)