Find Docker Container IP Address?
This is just simple post for later reference, if I need it …
In setting up some docker containers for testing Oracle GoldenGate, I needed to find the IP address of the container where my database was running (I keep my database in a seperate container in order not to rebuild it every time).
To find the address of my database container, I had to use the docker “inspect” command. This command returns low level infomation on Docker objects.
The syntax is as follows:
docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}'
Enjoy!!!!
Current Oracle Certs
Bobby Curtis
I’m Bobby Curtis and I’m just your normal average guy who has been working in the technology field for awhile (started when I was 18 with the US Army). The goal of this blog has changed a bit over the years. Initially, it was a general blog where I wrote thoughts down. Then it changed to focus on the Oracle Database, Oracle Enterprise Manager, and eventually Oracle GoldenGate.
If you want to follow me on a more timely manner, I can be followed on twitter at @dbasolved or on LinkedIn under “Bobby Curtis MBA”.
Your article helped me a lot, is there any more related content? Thanks! https://www.binance.com/sv/join?ref=PORL8W0Z