I’m following this document https://docs.srsran.com/projects/project/en/latest/tutorials/source/srsUE/source/index.html#zeromq-based-setup
While running this command I’m getting error: sudo docker-compose up –build 5gc
waxwing@waxwing:~/srsran/srsRAN_Project/docker$ sudo docker-compose up --build 5gc
[+] Building 3.9s (16/16) FINISHED docker:default
=> [5gc internal] load build definition from Dockerfile 0.2s
=> => transferring dockerfile: 3.11kB 0.0s
=> [5gc internal] load .dockerignore 0.4s
=> => transferring context: 2B 0.0s
=> [5gc internal] load metadata for docker.io/library/ubuntu:22.04 1.9s
=> [5gc base 1/8] FROM docker.io/library/ubuntu:22.04@sha256:a6d2b38300ce017add71440577d5b0a90460d0e57fd7aec21dd0d1b0761bbfb2 0.0s
=> [5gc internal] load build context 0.2s
=> => transferring context: 142B 0.0s
=> CACHED [5gc base 2/8] RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt install -y software-properties-common && rm -rf /var/lib/apt/lists/* 0.0s
=> CACHED [5gc base 3/8] RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y python3-pip python3-setuptools python3-wheel ninja-build build-essential 0.0s
=> CACHED [5gc base 4/8] RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y --no-install-recommends wget gnupg && wget -qO - https://www.mongodb.org/static/pgp/server-6.0. 0.0s
=> CACHED [5gc base 5/8] RUN echo v2.7.0 > ./open5gsversion 0.0s
=> CACHED [5gc base 6/8] RUN git clone --depth 1 --branch $(cat ./open5gsversion) https://github.com/open5gs/open5gs open5gs && cd open5gs && meson build --prefix=`pwd`/install && ninja 0.0s
=> CACHED [5gc base 7/8] RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y nodejs && cd open5gs/webui && npm ci --no-optional 0.0s
=> CACHED [5gc base 8/8] RUN python3 -m pip install pymongo click pyroute2 ipaddress python-iptables 0.0s
=> CACHED [5gc open5gs 1/3] WORKDIR /open5gs 0.0s
=> CACHED [5gc open5gs 2/3] COPY open5gs-5gc.yml open5gs-5gc.yml.in 0.0s
=> CACHED [5gc open5gs 3/3] COPY open5gs_entrypoint.sh add_users.py setup_tun.py subscriber_db.cs[v] ./ 0.0s
=> [5gc] exporting to image 0.1s
=> => exporting layers 0.0s
=> => writing image sha256:08070cfd35e4496cf9aacafe920e3eac994d45af1a598e5ac6d2669d7afb59ae 0.1s
=> => naming to docker.io/library/docker-5gc 0.0s
Attaching to open5gs_5gc
Error response from daemon: driver failed programming external connectivity on endpoint open5gs_5gc (4263fd3349b937f6cae0767ff69180a22f54a7536817c1a60cbb9b66f7726f9c): Error starting userland proxy: listen tcp4 0.0.0.0:9999: bind: address already in use
please solve this issue
I tried so many commands like:
sudo lsof -i -P -n | grep 9999
sudo kill -9 9269
but error is not solved
New contributor
Chelimi Nandini is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1