Prohibit users remote login
Mainly in the following steps
1, into the container
docker exec -it ID /bin/bash
2, open the configuration file
we /etc/rabbitmq/rabbitmq.conf
3. Add the configuration, the following test configuration means users can only be accessed by localhost
loopback_users.test = true
Restart Service
Execution rabbitmqctl stop, a few seconds, it will automatically exit the container, the container can be re-run at this time, docker start ID
Reproduced, please indicate the source blog: http://www.cnblogs.com/cjh-notes/