Skip to content

Commit a0842d2

Browse files
author
afabiani
committed
Running geonode from rancher catalog fails (ref. https://github.com/geosolutions-it/geonode-generic/issues/28
1 parent 1466ab5 commit a0842d2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tasks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ def initialized(ctx):
284284

285285
def _docker_host_ip():
286286
try:
287-
client = docker.from_env()
287+
client = docker.from_env(version='1.24')
288288
ip_list = client.containers.run(BOOTSTRAP_IMAGE_CHEIP,
289289
network_mode='host'
290290
).split("\n")
@@ -306,7 +306,7 @@ def _docker_host_ip():
306306

307307
def _container_exposed_port(component, instname):
308308
try:
309-
client = docker.from_env()
309+
client = docker.from_env(version='1.24')
310310
ports_dict = json.dumps(
311311
[c.attrs['Config']['ExposedPorts'] for c in client.containers.list(
312312
filters={

0 commit comments

Comments
 (0)