die Dose
can
A cylindrical metal container in which food or drinks are sealed airtight.
Ich öffne eine Dose Tomaten für die Soße.
I'm opening a can of tomatoes for the sauce.

can / container / socket
Loading your saved state.
can
A cylindrical metal container in which food or drinks are sealed airtight.
Ich öffne eine Dose Tomaten für die Soße.
I'm opening a can of tomatoes for the sauce.

The meanings can be clearly distinguished by context. If it is about food, drinks, or storage, it means a container. If it is about electricity, cables, or walls, it means an electrical component.
Gib mir bitte die Kekse aus der Dose auf dem Regal.
Please give me the cookies from the tin on the shelf.
'Dose' is the base word for many things. A 'Konservendose' (food can) contains food, a 'Steckdose' (socket) supplies electricity, and a 'Blechdose' (tin can/metal tin) is a container made of sheet metal. In everyday language, the short form 'Dose' is often used.
Für den Campingausflug haben wir viel Dosenfutter gekauft.
We bought a lot of canned food for the camping trip.
In connection with food packaging, typical phrases are 'eine Dose öffnen' (to open a can), 'etwas aus der Dose essen' (to eat something from a can), or 'eine Dose Konserven' (a can of preserved food).
Für eine schnelle Mahlzeit gibt es heute Ravioli aus der Dose.
For a quick meal, today we're having ravioli from a can.
The use of 'Dose' for 'Steckdose' (socket) is very common, but it is considered colloquial. In formal or technical texts, 'Steckdose' is always written.
Steck den Stecker bitte in die Dose da drüben.
Please plug the plug into the socket over there.
glass / jar
'das Glas' and 'die Dose' can both be containers, especially for food. The difference usually lies in the material and the typical use. A 'Glas' is a glass container with a lid, for example for jam or pickles. A 'Dose' is often made of metal and sealed airtight, for example for beans or soup. 'Dose' can also be a small container with a lid, such as for candy. The words can be confused because both things store something. Pay special attention to this: jam is often in a 'Glas', tomatoes are often in a 'Dose'.

Für die Suppe öffnet Mehmet eine Dose Tomaten.
Mehmet opens a can of tomatoes for the soup.
Im Kühlschrank steht noch ein Glas Erdbeermarmelade.
There is still a jar of strawberry jam in the fridge.