A friend asked this question but I am not sure of the answer maybe someone on here can answer it

A gas can was used once or twice to carry diesel fuel and has not been used in about 8 or 9 months since

Now he wants to use the can to transport gas for his car

Is this safe to put regular unleaded fuel in the can as it did have diesel before
Is there something that he can do to CLEAN it,