Can't fetch any external cid from docker container (halting)

So I’m running this ipfs docker container

following the instructions in the README and then trying to execute some commands

but when I try fetching an external cid that doesn’t live on my local node like below

ipfs files stat /ipfs/QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR --api /ip4/

it’s hangs and never resolves. If I use the same command for any local cids on my node it executes quickly. Do I have to open a port or is it just inevitable and external cids take more time