The Caine Mutiny is a 1954 American drama film directed by Edward Dmytryk and based on the 1951 Pulitzer Prize-winning novel The Caine Mutiny by Herman Wouk. The film stars Humphrey Bogart as Captain Philip Queeg, Jose Ferrer as Lieutenant Commander Tom
From Wikipedia
The Caine Mutiny is a 1951 novel by American author Herman Wouk. The novel grew out of Wouk's personal experiences aboard two destroyer-minesweepers in the Pacific Theater in World War II. Among its themes, it deals with the moral and ethical decisions made at sea by ship captains and other officers. The mutiny of the title is legalistic, not violent, and takes place during Typhoon Cobra, in December 1944. The court-martial that results provides the dramatic climax to the plot.