While doing the Network Container lesson Network Containers Lesson I ran into an error
Template parsing error: template: :1: unclosed action
when executing
docker inspect --format='{{json .NetworkSettings.Networks}}' db
What could be the issue?
I'm running the commands on Windows 10 and the strings must be enclosed with double quotes. Therefore, rewriting the command as
docker inspect --format="{{json .NetworkSettings.Networks}}" db
solved it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With