apache / openwhisk-devtools

Development tools for building and deploying Apache OpenWhisk
https://openwhisk.apache.org/
Apache License 2.0
180 stars 126 forks source link

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

Open mango009 opened 2 years ago

mango009 commented 2 years ago

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
pqi1 commented 2 years ago

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

05lover commented 2 years ago

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