I was gonna go that route before I found the ones I linked to. And the Jerry can style supposedly seals well enough that they don’t necessarily have to be stored upright.
I have an older German surplus can like those. On a trip along the Peligreen Jeep Trail it flopped on its side in the back of my Scout. Didn't notice it until day's end, and it hadn't leaked a drop in about six hours in 100f weather. Impressive. Wish I'd bought about 10 more of them back when I got this one in 2005 or so. Has a neat little multi position aluminum tag that states diesel, gasoline, and two other fuels (in German) depending on how you have it oriented in the mounting bracket.