docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' <container name>
In this i have included command history of each setup, i have removed unnecessary installation info after each command execution to make it short. You may refer the desired file according to your need.
docker run -d --hostname rmq --name rabbit-server -p 15672:15672 -p 5672:5672 rabbitmq:3-management
Open a terminal or command prompt and use a command like ps or pgrep to find the PID of the Airflow web server process. For example: ps aux | grep 'airflow webserver' kill