Archive

Posts Tagged ‘container’

Docker Inspect Tricks

August 16th, 2014 No comments

Docker inspect provides all sorts of useful information.¬†Use with no format to get all values, then use –format to filter.

This example gets the complete container Id:

docker inspect –format='{{.Id}}’ $SHORT_CONTAINER_ID

 

 

Categories: Linux Tags: , , , ,