Bad idea to use plastic for diesel fuel. I think that plastic fuel containers are made of polyethylene. This site:
http://www.sunwestcontainer.com/pdf/...patibility.pdf
shows that polyethylene might be adversely effected by both ether and kerosene. In my lab we had some polyethlene bottles for acetone-supposedly compatible. After a few weeks they split. You sure don't want to wind up with a gallon of diesel fuel drained on your shop floor! Chemically glass is good untill you drop it. I've been using 1 quart steel lacquer containers and further dividing the fuel as needed into 1 pint metal cans available from McMaster Carr. I have been making a gasket from lead tape and using it to seal the container.