A Node.js utility to fetch the public IP addresses of Docker containers.
npm install -g docker-ip-retrieval
Run the command in your terminal:
dip
You will be prompted to select a Docker container. Choose a specific container or select ‘All’ to fetch the public IPs of all containers.
-
-v
,--version
Show version information -
-p
,--ports
List ports for all containers