rabbitmq:management
I have a docker image running in WSL2
But I keep getting an error when starting the java project
Find a big guy's answer from the Internet to solve the problem:
I reinstalled rabbitMq using the command:
docker run -d --hostname my-rabbit --name rabbit -p 15672:15672 -p 5671-5672:5671-5672 rabbitmq:3.8.0
Pay attention to your own installation version number, mine is 3.8.0,
Start the project again after installation, the problem is solved