How to configure as insecure a registry running in a container?

Saying that something has to be solved in a different way doesn’t make much sense as long as you don’t mention in which way. Not sure whether you’ve understood the issue I’m facing but using another IP address then the one of the container doesn’t make sense neither as long as that’s the IP address of the container I need.