Merge pull request #795 from pschiffe/dev-api-version
[Dockerapi] Auto detect version of docker servermaster
commit
f8416b83d1
|
@ -7,7 +7,7 @@ import docker
|
||||||
import signal
|
import signal
|
||||||
import time
|
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__)
|
app = Flask(__name__)
|
||||||
api = Api(app)
|
api = Api(app)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue