Redox-switchable molecular containers consisting of dicobalt complexes.