The only free and comprehensive online etymological dictionary of the Spanish language
contener (Verb) "to contain"

From Latin continere "to contain" but also "to hold together." From intensifying prefix com- (see co-) and tenere "to hold" (see tener).

Romance: Western Vulgar Latin: Portuguese conter, Galician conter, Catalan contenir, French contenir, Italian contenere; Eastern Vulgar Latin: Romanian conteni, conține