I don't use submarine in my daily work. But submarine is also not a metaphorical word, it's a literal one - sub (below) marine (the sea).
One could argue that it's an insufficiently specific literal term, and that the word "vessel" should be added afterwards, I suppose. But it doesn't really matter because it's not the same error of form that Allowlist and whitelist have.