From the Super Mario Wiki
The stage is a redone variant of the first Donkey Kong level, Level 1-DK. Like in that stage, the player has to carry a Bin up platforms to throw it at Donkey Kong. The platform locations will change each time Donkey Kong presses a Color Switch, and he can also pull a chain to cause debris to fall that the player can avoid or block by performing a Handstand. However, Donkey Kong presses the Color Switches and pulls the chain more frequently than he did in the original level, and there are more platforms, but they are smaller. There are no regular platforms, and the colored platforms alternate between each other. Attacking Donkey Kong four times will defeat him and the player can move on.