Follow trolling motor to get e-mail alerts and updates on your eBay Feed. Unfollow trolling motor to stop getting updates on your eBay Feed. Yay! You're now following trolling motor in your eBay Feed.
This you see as the north pole forming near the north pole of the solenoid. Like poles repel, unlike poles attract is kind of a misleading analogy(I find it strange that I realized this after reading your question). What actually is happening is that the tiny magnetic dipoles inside the magnetic material(a bar of iron, for example) align with the direction of the magnetic field.
Magnets are pieces of metal that have the ability to attract other metals. Every magnet has two poles: a north and a south. Much like electrical charges, two similar magnetic poles repel each other; while opposite magnetic poles attract each other. Magnets have a continuous force around them that is known as a magnetic field. This field enables them to attract other metals. Figure 1 illustrates this force using bar and horseshoe magnets. The shape of the magnet dictates the path the lines of force will take.