jeudi 21 février 2019

Solution for [ERROR: for redis-commander Cannot start service redis-commander: driver failed programming external connectivity on endpoint]

I solved this issue by running the following:

Error :
ERROR: for redis-commander  Cannot start service redis-commander: driver failed programming external connectivity on endpoint docker_redis-commander_1 (2631d041f6bf20894f47c2d3743db4dde7157ac6c441cb061b85538da53a6b71): Error starting userland proxy: listen tcp 0.0.0.0:8081: bind: address already in use
ERROR: Encountered errors while bringing up the project.
solution :
docker stop $(docker ps -a -q); docker rm $(docker ps -a -q); docker volume rm $(docker volume ls -qf dangling=true)
docker network rm $(docker network ls -q)
sudo lsof -nP | grep LISTEN
sudo kill -9 1548
Where on the last line, 1548 was a service that was using port 8081.

Aucun commentaire:

Publier un commentaire