As best it can. It's not like it can read the directions or anything. If the container author included the various environment variables, paths, etc within the dockerfile, then it should properly fill out the template (minus any help text like what you posted above), and certain assumptions are made about network type, webUI port etc which is impossible to determine, and may or may not be correct.
But, there is zero requirement that the dockerfile contains that information within it, and no matter what you still have to read the docs on the dockerhub page for the container - Hence why its an option in CA that the user has to specifically enable and then have another click in order to display the results from dockerHub