How to get a Docker container's IP address from the host
Asked 07 September, 2021
Viewed 923 times
  • 66
Votes

Is there a command I can run to get the container's IP address right from the host after a new container is created?

Basically, once Docker creates the container, I want to roll my own code deployment and container configuration scripts.

30 Answer