No, but their sense of smell is so powerful that even if you have a trace of the drug on your hangs as you close the metal container, they will be able to smell it. Best keep away from the drugs.
Some of the more highly trained sniffer dogs at Heathrow airport in London can smell through metal when checking out baggage and containers at Customs.