Inherited from Middle French marinier, from Old French mariner. By surface analysis, marin + -ier. Compare Catalan mariner, Italian marinaio, Spanish marinero, Portuguese marinheiro. Cf. also Vulgar Latin marinarius.
Practice speaking and memorizing "marinier" and many other words and sentences in French.