Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

docker ps with ip

#You can use docker inspect <container id>.

#For example:

CID=$(docker run -d -p 4321 base nc -lk 4321);
docker inspect $CID
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #docker #ps #ip
ADD COMMENT
Topic
Name
6+6 =