You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't see the purpose of adding this to docker ps.
See docker inspect <container> for this information.
or docker inpspect --format '{{ .NetworkSettings.IPAddress }}' <container>
vbfox, juliohm1978, gmanjon, jesusha123, vibhor13 and 9 more
destan, wabbenhuis, sel-fish, jordanjennings, moaxaca and 38 moreaaksarinThemroc, selboo, lsandovalr and rakoudestan, romanlevin, moaxaca, chrisber, shiv4nsh and 12 more
IP ADDRESS CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
172.17.0.10 2a59d5309caf ubuntu:latest "bash" 10 minutes ago Up 10 minutes suspicious_bartik
172.17.0.9 3749630c1a10 ubuntu:latest "bash" 10 minutes ago Up 10 minutes tender_pasteur
172.17.0.8 14c0677bb489 ubuntu:latest "bash" 10 minutes ago Up 10 minutes silly_poincare
nghinv, OmgImAlexis, murarisumit, chrisber, biyiklioglu and 30 moreMaxymVlasovaaksarinGuzzettaLoic, MaxymVlasov, rakou, juliohm1978, obonyojimmy and 1 more
Activity
cpuguy83 commentedon Oct 27, 2014
I don't see the purpose of adding this to
docker ps
.See
docker inspect <container>
for this information.or
docker inpspect --format '{{ .NetworkSettings.IPAddress }}' <container>
syabro commentedon Oct 27, 2014
I know about docker inspect with format
But it'll be much simpler. I need it often and to do it I need:
Too much actions
cpuguy83 commentedon Oct 27, 2014
or
docker inspect --format '{{ .ID }} - {{ .Name }} - {{ .NetworkSettings.IPAddress }}' <container>
This enables you to do a lot of stuff.
syabro commentedon Oct 27, 2014
I still need to do 3 actions instead of one :)
cpuguy83 commentedon Oct 27, 2014
Why?
syabro commentedon Oct 27, 2014
@brianm a) found your answer or copypaste it somewhere
b) found docker id
c) run it ^_^
NomAnor commentedon Oct 27, 2014
A little shell magic for you:
syabro commentedon Oct 27, 2014
@NomAnor wow
thanks
I owe you a beer
ajohnstone commentedon Jan 21, 2015
This will retain the formatting from
docker ps
I've added a few more here aliases below, hope that helps.
https://github.com/ajohnstone/dot-files/blob/master/bash.d/bash/docker
davsclaus commentedon Mar 9, 2015
+1
A shame there is no vote on github issues.
Pensu commentedon Mar 10, 2015
+1
I have wanted it for a long time!
On 03/09/2015 09:00 PM, Claus Ibsen wrote:
Peeyush Gupta
gpeeyush@linux.vnet.ibm.com
26 remaining items