Unable to launch ArangoDB in a docker image or its port unavailable internally

31 views
Skip to first unread message

Arash Sabet

unread,
Feb 15, 2024, 10:55:31 AM2/15/24
to ArangoDB
We are following the steps outlined in this article to create a Keda build agent, and it was a successful process. We added the following steps to the docker file to include and run ArangoDB in the docker image to utilize it in our Azure DevOps pipelines' integration tests:

RUN echo arangodb3 arangodb3/password root | debconf-set-selections
RUN echo arangodb3 arangodb3/password_again root | debconf-set-selections
RUN echo arangodb3 arangodb3/backup boolean false | debconf-set-selections
RUN echo arangodb3 arangodb3/upgrade boolean true | debconf-set-selections
RUN sudo apt-get install arangodb3=3.11.6-1
RUN sudo service arangodb3 start

Unfortunately the integration tests in our Azure DevOps' build pipelines are failing due to the following error message:

ArangoDB's connection error message: System.Net.Http.HttpRequestException : Cannot assign requested address (localhost:8529)

It's unclear whether or not the ArangoDB instance refrains from launching, or the ArangoDB's port is unavailable internally within the docker image. Regardless, we are not observing any error messages suggesting a failure in building and running the docker image. We are using Ubuntu 22.04 to build the docker image.

Any suggestions on how to fix this issue?

Thanks!

Asif Kazi

unread,
Feb 25, 2024, 9:51:54 PM2/25/24
to ArangoDB
Is there something esle running on the port?
Reply all
Reply to author
Forward
0 new messages