I have the following EntityFramework context:
public class Context : DbContext, IDbContext { }
Where IDbContext is the following:
Many ways, depending on scope you need, conventions etc.
Example:
containerBuilder .RegisterType<Context>() .AsImplementedInterfaces() .InstancePerLifetimeScope();