Reading a log out of a docker file

I have to pull the log out of a docker process to figure out why it is crashing. The Docker container name is ironic_ipxe.

cat $( docker inspect ironic_ipxe  | jq -r  '.[] | .LogPath' )

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.