Friday, October 16, 2020

Docker how to configure container level Docker

sudo docker inspect -f '{{.HostConfig.LogConfig.Type}}'  78634dcef146

This gives which log driver is used. If json is used, it gives json-file as the output 

Very useful set of Docker commands


Refereces 

https://blog.softwaremill.com/how-to-keep-your-docker-installation-clean-98a74eb7e7b3

https://www.digitalocean.com/community/tutorials/how-to-remove-docker-images-containers-and-volumes

https://stackoverflow.com/questions/53221412/why-the-none-image-appears-in-docker-and-how-can-we-avoid-it



References:

No comments:

Post a Comment