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
Email this to someone
email
Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin

Problem

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

Solution

Run the following two commands (taken from here

1
2
3
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