A container data center, comprising: a container having an interior; two server cabinet groups respectively arranged at two opposite ends of the interior of the container; a plurality of air handling units mounted to an outside of the container; and a power supply equipment group arranged in the container between the two server cabinet groups; wherein the container further comprises a plurality of windows; wherein the container comprises a first sidewall and a second sidewall opposite to the first sidewall, the power supply equipment group and the server cabinet groups are aligned in a line parallel to the first sidewall and the second sidewall; wherein the plurality of air handling units are mounted to an outside of the second sidewall and in communication with the interior of the container; wherein the plurality of windows are horizontally aligned in the first sidewall; wherein when air temperature outside of the container is high, a refrigeration mode of the air handling units is turned on, the windows are closed, the air handling units blow cool air into the container through a lower portion of the second sidewall; the cool air becomes hot air after heat is exchanged with the server cabinet groups and the power supply equipment group; the hot air flows into the air handling units through an upper portion of the second sidewall; when air temperature outside of the container is low and air humidity outside of the container is high, the windows are open; a dehumidification mode of the air handling units is turned on, cold air outside of the container data center flows into the air handling units, the cold air from outside of the container data center is mixed together with the hot air flowing into the air handling units from the interior of the container to form cool air, the cool air flows into the container through the lower portion of the second sidewall, the cool air becomes hot air after heat is exchanged with the server cabinet groups and the power supply equipment group; a portion of the volume of the hot air is discharged outside through the open windows. a container having an interior; two server cabinet groups respectively arranged at two opposite ends of the interior of the container; a plurality of air handling units mounted to an outside of the container; and a power supply equipment group arranged in the container between the two server cabinet groups; wherein the container further comprises a plurality of windows; wherein the container comprises a first sidewall and a second sidewall opposite to the first sidewall, the power supply equipment group and the server cabinet groups are aligned in a line parallel to the first sidewall and the second sidewall; wherein the plurality of air handling units are mounted to an outside of the second sidewall and in communication with the interior of the container; wherein the plurality of windows are horizontally aligned in the first sidewall; wherein when air temperature outside of the container is high, a refrigeration mode of the air handling units is turned on, the windows are closed, the air handling units blow cool air into the container through a lower portion of the second sidewall; the cool air becomes hot air after heat is exchanged with the server cabinet groups and the power supply equipment group; the hot air flows into the air handling units through an upper portion of the second sidewall; when air temperature outside of the container is low and air humidity outside of the container is high, the windows are open; a dehumidification mode of the air handling units is turned on, cold air outside of the container data center flows into the air handling units, the cold air from outside of the container data center is mixed together with the hot air flowing into the air handling units from the interior of the container to form cool air, the cool air flows into the container through the lower portion of the second sidewall, the cool air becomes hot air after heat is exchanged with the server cabinet groups and the power supply equipment group; a portion of the volume of the hot air is discharged outside through the open windows.