[英]Cannot start Redis service when I running on docker
It happened because you tried to bring up an environment where you had already bound the port elsewhere.发生这种情况是因为您尝试创建一个环境,在该环境中您已经将端口绑定到其他地方。
To fix...修理...
Either任何一个
docker-compose down
which will delete the containers + network. docker-compose down
这将删除容器 + 网络。
OR或者
docker ps -a
find the stuck container and then remove it with docker rm -f CONTAINER_XX
docker ps -a
找到卡住的容器,然后使用docker rm -f CONTAINER_XX
将其删除
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.