adore
adore copied to clipboard
"make cli" report error
After I run the command "make cli", I received the error related to "apt cacher ng". So, I install it by using "sudo apt-get install apt-cacher-ng". But I got another error when I run "make cil". The detailed error information is shown below:
li@li-Dell2:~/adore/adore$ make cli
cd "/home/li/adore/adore/apt_cacher_ng_docker" &&
make up
mkdir -p "/home/li/adore/adore/apt_cacher_ng_docker/.cache"
docker volume create --driver local
--opt type=none
--opt device=/home/li/adore/adore/apt_cacher_ng_docker/.cache
--opt o=bind
apt-cacher-ng-cache
apt-cacher-ng-cache
docker compose up --detach --no-recreate && echo "Apt-Cacher NG statistics dashboard is located at: http://127.0.0.1:3142/acng-report.html"
[+] Running 1/1
✔ Container apt-cacher-ng Created 0.0s
Error response from daemon: driver failed programming external connectivity on endpoint apt-cacher-ng (51970b5736ec8295c17cf578cd8b9b3a8fd5d7726116a037c6644f772d8c8862): Error starting userland proxy: listen tcp4 0.0.0.0:3142: bind: address already in use
make[2]: *** [Makefile:62: _up] Error 1
make[1]: *** [Makefile:51: up] Error 2
make: *** [/home/li/adore/adore/apt_cacher_ng_docker/apt_cacher_ng_docker.mk:19: _start_apt_cacher_ng] Error 2
Sorry for the late response. This likely indicates there is another docker service or system service running on that port. Make sure all conflicting system services and docker services are stopped before running the cli. One quick way to stop all docker services is with:
docker stop $(docker ps -a -q)
You can also use netstat
to check if there are conflicting services running on port 3142
which is used by the apt cacher:
netstat -tuln | grep ':3142 '