use container to find the correct application template