I bought one of these and put it in my shed for filling up my lawnmower and other tools, snowblower, quad, etc and it works great. It doesnt say that it can be used for diesel fuel but I dont see any reason why it wouldnt work. The amazon site has some bad reviews on it and they all seem to be about the same. Debris inside. I've never had any of that and the inside of mine is just fine. Maybe they had a bad run in 2020??
https://www.amazon.com/Industries-JD.../dp/B07R6T3Y86
I also looked at one of these. Looked like a pretty nice unit but wasnt gonna fit in the space I had allocated in my shed. This one says it will work with gas, diesel, kerosene,...
https://www.amazon.com/Scepter-6792-...00MT94QA&psc=1