It shouldn’t matter, but to be hoenst I don’t remember when I checked rate limits last time. Is the container “Docker in Docker” with the deamon also running in the container or just a client using the socket from the host?
If the Docker version is the same, I wonder what happens when you use the host network in the container. Can you test it so we can see if it is only about the network isolation or something else?