Foot cramps

Courts

Anyone get foot cramps? What helped and do you know what caused it? Some kind of vitamin or mineral deficiency? I keep getting them, but they last for like 10 minutes and are not relieved by stretching :(