0

この Dockerfile をビルドするとき、コマンドに到達すると:

rabbitmqctl status

戻り値:

Error: unable to connect to node rabbit@d3659c5e113e: nodedown

DIAGNOSTICS
===========

nodes in question: [rabbit@d3659c5e113e]

hosts, their running nodes and ports:
- d3659c5e113e: [{rabbitmqctl20,52855}]

current node details:
- node name: rabbitmqctl20@d3659c5e113e

ここからどこへ行けばいいのかわからない。

これは私が使用している Docker ファイルです。

FROM ubuntu
MAINTAINER Will Mayger
RUN echo "deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -sc) main universe" >> /etc/apt/sources.list
RUN apt-get update
RUN apt-get install -y tar git curl nano wget dialog net-tools build-essential
RUN apt-get install -y python python-dev python-distribute python-pip
RUN wget https://www.rabbitmq.com/rabbitmq-signing-key-public.asc
RUN apt-key add rabbitmq-signing-key-public.asc
RUN sudo apt-get -y install rabbitmq-server
RUN sudo rabbitmqctl status
RUN sudo rabbitmqctl add_user test testpass1
RUN sudo rabbitmqctl add_vhost myvhost
RUN sudo rabbitmqctl set_permissions -p myvhost test ".*" ".*" ".*"
RUN sudo rabbitmq-server
RUN git clone https://github.com/CanopyCloud/microservice-python
RUN pip install -r /microservice-python/requirements.txt
EXPOSE 80
WORKDIR /microservice-python/

CMD python /microservice-python/server.py
4

1 に答える 1