Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata

https://stackoverflow.com/questions/43692961/how-to-get-ip-address-of-running-docker-container

NAMEBDOCKERIP="$(docker inspect -f "{{ .NetworkSettings.IPAddress }}" <containername>)"
echo "$NAMEBDOCKERIP"
  • No labels