Container without side walls and equipped with two fixed or reclining end rails