There may be a need to configure f5 to have rewrites for docker. Below is a sample configuration for the subdomain method: