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跑rabbitMQ的时候出现了这么一个错误,docker images 一看:
在这里插入图片描述
装了两个RabbitMQ,删掉重装之后解决问题。
Error response from daemon: OCI runtime create failed: container_linux.go:344_第1张图片

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:应用访问端口号

Error response from daemon: OCI runtime create failed: container_linux.go:344_第2张图片
Error response from daemon: OCI runtime create failed: container_linux.go:344_第3张图片

使用用户名admin和密码admin便可进入

Error response from daemon: OCI runtime create failed: container_linux.go:344_第4张图片

你可能感兴趣的:(Docker,RabbitMQ)