Error response from daemon: OCI runtime create failed: container_linux.go:344
Error response from daemon: OCI runtime create failed: container_linux.go:344 starting container process caused “exec: “docker-entrypoint.sh”: executable file not found in $PATH”: unknown.用docker跑ra..
·
Error response from daemon: OCI runtime create failed: container_linux.go:344 starting container process caused “exec: “docker-entrypoint.sh”: executable file not found in $PATH”: unknown.
用docker跑rabbitMQ的时候出现了这么一个错误,docker images 一看:
装了两个RabbitMQ,删掉重装之后解决问题。
PS :RabbitMQ在运行时启用用户名和密码
docker run -d --hostname my-rabbit --name rabbit -e RABBITMQ_DEFAULT_USER=admin -e RABBITMQ_DEFAULT_PASS=admin -p 15672:15672 -p 5672:5672 -p 25672:25672 -p 61613:61613 -p 1883:1883 rabbitmq:management 15672:控制台端口号 5672:应用访问端口号
使用用户名admin和密码admin便可进入
更多推荐
已为社区贡献2条内容
所有评论(0)