Skip to primary content

42

Web notebook about thoughts and discoveries in DevOps, SRE, Software Engineering….

42

Main menu

  • Home
  • About
  • contact
  • Links

Post navigation

← Previous Next →

Get the IP of a running Docker container

Posted on 11 November 2016 by kosmas

Problem

You would like to know the IP for a running Docker container.

Solution

Run the following two commands (taken from here

docker ps

docker inspect container_name | grep IPAddress
This entry was posted in DevOps, Docker and tagged container, DevOps, docker, ip by kosmas. Bookmark the permalink.
Proudly powered by WordPress