Just incase anyone is facing the same challenge specifically in docker setup. Here's how you navigate it using @CZoellner fix
docker exec -it <container_name/ID> odoo -d <DB_name> -u <Module_name> -c <location to your config file inside container (/etc/odoo/odoo.conf)> --xmlrpc-port=8070 <You might need to specify the port especially if 8069 is already commited by the running instant>