From Old Japanese. Compound of 麻 (o, “flax, ramie”) + 笥 (ke, “a container, especially for foodstuffs or tableware”).
麻(お)笥(け) • (oke) ←をけ (woke)?
The 桶 spelling is more common.