The invention relates to a device that is based on a structure coupled to the roof of a container, and which comprises: main cabling that passes through the device between the front and rear ends thereof and which allows two or more devices to be connected together; and secondary cabling, with at least one connection terminal, which is connected to the main cabling and is used to supply electricity to at least the container on which same is situated. The device comprises an arm for securing/releasing twistlock securing elements by means of a mechanical system, the ends of the arms being provided with terminals for connecting the main cabling.