Walt Disney Co. sued Redbox on Thursday in an attempt to stop the DVD rental company from selling digital copies of its movies.

Privately held Redbox last month began offering consumers codes they can use to download a digital copy of a Disney DIS, +1.43% movie.