...it would be correct to let the presentation layer create the container and record the required dependencies?
Not.
The Presentation Layer is responsible for displaying system information to the user.
The Infrastructure Layer is responsible for providing technical resources that will support the upper layers. I mean, that last yes should have that kind of concern.
Some problems you may have when registering the container and its dependencies in the presentation layer:
How you are using an architecture following Domain Driven Design (DDD), you probably have a Business Layer, where "services" will depend on queries to repositories.
In this scenario, depending on your implementation, your business project (called DDD Domain) would depend directly on your Presentation Layer project, which is inconsistent with the DDD approach.
Another scenario you may have problem with: If your project’s Presentation Layer changes in the future to Asp.Net MVC, Web Form, etc.. you will have to keep changing/moving this code that solves/registers dependencies, IE, you will have more maintenance and moving this code again :-(.
Log dependencies in the Infrastructure Layer.
...Or ALL of these dependencies must be registered in the Infrastructure layer?
Yes, with respect to dependencies common to projects/layers, mainly Repositories and Services.
...Or is it both? For example: the presentation layer records things like Views and the Infrastructure layer records dependencies that are common to all layers?
How to register/resolve dependencies is not the responsibility of the Presentation Layer, I advise you to register the dependencies in the Infrastructure Layer, so you have a single point and do not need to maintain in two places.
Has your doubt been resolved? I ask because your question is still open.
– Renan