openwhisk-devtools icon indicating copy to clipboard operation
openwhisk-devtools copied to clipboard

docker-compose make quick-start failed with timeout waiting for docker server

Open mango009 opened this issue 2 years ago • 2 comments

Running under Ubuntu 20.04 with 32G memory

It always timeout when starting openwhisk_apigateway_1

Waiting till all containers are powered up... 
Starting openwhisk_zookeeper_1 ... 
Starting openwhisk_zookeeper_1 ... done
Starting openwhisk_redis_1     ... done
Starting openwhisk_db_1        ... done
Starting openwhisk_kafka_1     ... done
Starting openwhisk_kafka-rest_1 ... done
Starting openwhisk_invoker_1    ... done
Starting openwhisk_controller_1      ... done
Starting openwhisk_kafka-topics-ui_1 ... done
Starting openwhisk_apigateway_1      ... done
\nIMAGE                                      STATUS
openwhisk/apigateway:nightly               Up 2 minutes
landoop/kafka-topics-ui:0.9.3              Exited (2) 3 minutes ago
openwhisk/controller:nightly               Up 3 minutes
openwhisk/invoker:nightly                  Up 3 minutes
confluentinc/cp-kafka-rest:3.3.1           Up 3 minutes
wurstmeister/kafka:0.11.0.1                Up 3 minutes
zookeeper:3.4                              Up 3 minutes
apache/couchdb:2.3                         Up 3 minutes
redis:2.8                                  Up 3 minutes
minio/minio:RELEASE.2018-07-13T00-09-07Z   Up 3 minutes (healthy)
\nERROR: Timed out waiting for docker services to launch...
make: *** [Makefile:306: wait-for-docker-compose-up] Error 1

mango009 avatar Apr 15 '22 22:04 mango009

This might be helpful: https://github.com/stefanprodan/dockprom/issues/205

I updated the /etc/resolv.conf to userserver: 127.0.0.53 Then remove the link of this file by using command: unlink /etc/resolv.conf After that update the access permission by using command: chmod 444 /etc/resolv.conf

pqi1 avatar Apr 25 '22 19:04 pqi1

@pqi1 Thx! It works, just change "options edns0 trust-ad" into "options edns0 ndots:0".

05lover avatar May 26 '22 02:05 05lover