Docker Inspect Tricks
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
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
Recent Comments