You should bubble the chlorine through a small gas-wash bottle, filled with H2SO4 for drying. Probably, passing it through a tube of dry CaCl2 also does the job. After that, it has to be passed into a glass tube, which has to be melted, such that the gas is trapped into a self-made ampoule. It simply is not possible to find a bottle, such that the sample remains OK for more than a few weeks. Every cap finally will be eaten away by the chlorine gas. You can't store it in a visible way, except in a completely sealed glass ampoule.
I'll just re-iterate what Woelen has already stated so perfectly. Below is the procedure I used to generate and store the chlorine gas which I have as a part of my collection. (And this method of storage is how I store ALL of my halogens and there simply is no way to safely keep halogens in an openable container without it eventually eating everything).
1): Setup three different reaction "vessels" all interconnected by glass tubing. Vessel one is where the chlorine gas will be generated. Vessel two will be pure distilled water as this will dissolve any acid vapors left over. Vessel three will be an anhydrous dessicant which will absorb any water that is present without reacting with the chlorine gas.
2): Since chlorine gas is denser than air, you want to setup your vessels so that each subsequent one is lower than the previous one. This will force the chlorine along the setup and into your collection tube.
3): In the reaction vessel, place your MnO2 or Ca(ClO)2 power/slurry. (I find it works best if it's a slightly damp "mush").
4): Slowly drip in your concentrated HCl until you start seeing bubbles of a greenish gas forming. This will be your chlorine and possibly some ClO2 as well. Keep in mind that you will want to seal off the opening where the HCl was added, and you want your "vessels" to be fairly small so that it forces the formed gas out the only open hole.
5): The vessel with the distilled water should dissolve all of the HCl vapors, a good deal of the ClO2, and sadly a good deal of your Cl2. However, the amount of Cl2 that will dissolve should be tiny compared to the amount you are generating. The inlet tube should be below the water line and the outlet tube should be placed above the water line so that the Cl2 will bubble up and out into your dessicant tube.
6): For the dessicant, I used anhydrous NaHCO3 because it absorbs water pretty readily and didn't react with the chlorine gas. Again, the inlet tube was placed below the pile of NaHCO3 so that the opening wasn't visible and the outlet tube was placed at the top above the powder line. This ensures that the Cl2 coming out would pass through the dessicant before coming out of the tube.
7): The final outlet of the tube was placed into an upright test tube which had been thoroughly cleaned and dried. A piece of white cardboard was placed behind the tube to make the chlorine even more visible. Once the tube had been filled and the green color was readily apparent, the tube was quickly melted shut through the use of some propane torches. The chlorine gas was now permanently stored inside the tube and you can see the green color VERY readily when looking down the long end.
Sealing the chlorine in the tube is the only way it could be stored safely. I also took my bromine and iodine samples and sealed them in glass tubes as well to keep them indefinitely and safely.