Hyun-Jin Ryu struck out seven in 5 2/3 innings and doubled in two runs Friday night as the Dodgers opened their longest trip against the Giants.