Syntax

Use below syntax to get IP address of a Docker container. You need to change CONTAINER ID/NAME with the actual container ID or name.

Example

For example, you have a docker container with the container id 1808352f0693. Just run the below command on terminal. Output