For further reference, please consider the following sections:
These additional references should also help you:
cd C:\Users\YOUR_PC_NAME\Documents\workspace\java-se-course\java-041-microservices-project\day6\java-041-microservice-project\AgentService
docker build --build-arg JAR_FILE=build/libs/AgentService-v.1.0.1.jar -t mimaraslan/agent-service-v.1.0.1.jar:v001 .
Docker run -d –hostname my-rabbit –name my-rabbit -e RABBITMQ_DEFAULT_USER=user -e RABBIT_DEFAULT_PASS=user -p 15672:15672 -p 5672:5672 –memory=256m rabbitmq:3-management