Docker and Kubernetes

Find a container's IP address

Look up the IP address Docker gave a container.

Fill these in once
  1. Show its IP address
    Terminal
    docker inspect my-app | grep IPAddress

    Usually you don't need it: containers on the same network can reach each other by name.

  1. Show its IP address
    Terminal · Ubuntu / Debian
    docker inspect my-app | grep IPAddress

    Usually you don't need it: containers on the same network can reach each other by name.

  1. Show its IP address
    PowerShell
    docker inspect my-app | Select-String IPAddress

    Usually you don't need it: containers on the same network can reach each other by name.