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

[Dockerapi] Auto detect version of docker server
master
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
1 changed files with 1 additions and 1 deletions

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)