Dublin is very close to the ocean. It's basically about 7455 meters from the ocean depending on where you measure to the exact coastline.
If you're driving to a town near the beach or coastline, you could try Dollymount.
How far is Ventura from the ocean
How far is New York City from the ocean
How far is Venice Beach from the ocean
How far is San Luis Obispo from the ocean
How far is Nashville from the ocean
How far is Manitou Springs from the ocean
How far is Reno from the ocean
How far is Jacksonville from the ocean
How far is Berkeley from the ocean
How far is Salisbury (England) from the ocean