~ ᐅ docker image inspect nginx | jq .[].Config.ExposedPorts
zsh: no matches found: .[].Config.ExposedPorts
With bash it works as expected.
I found out a difference as to how the piping is interpreted in bash and zsh, but I can't say whether is has anything to do with my case.