Registration is compulsory, but actual military service is voluntary (for now).
In other words, it's functionally the same as Selective Service forms in the US.