The word you are looking for is "can."
Can tan er
can
The homograph for a glass container is "jar." This word can refer to both a glass container used for storing food or a mason jar used for canning.
steel
To knock, rattle, shake, jolt, etc... and a glass container. Your answer would be JAR.
The homograph word for the sound made with fingers and a metal fastener is "clip." It can refer to the action of attaching something with a fastener or the snapping sound produced by fingers.
Metal Container Corporation is owned by the Anheuser-Busch Companies
cylinder. noun. a metal container for gas or liquid.
Snap.
The homophone for a metal fastener is "bolt" and for a sound made with fingers is "snap."
A container not made from metal - e.g china, plastic or silicone containers are all 'non-metal'.
it's a homograph
Can, or barrel.