Those cans predate those that I saw as a kid growing up on a dairy farm in 50s and early 60s. In those days, lower grades of milk were shipped from farms to dairy plants in cans. Those cans had number decals to indicate the owner. The dairy plant truck would pick up full cans in the morning and drop off empty cans from the previous day's pick up.
So, my guess is that the stamped numbers served the same purpose.
Steve